eyecandy for programmers
This commit is contained in:
parent
9404a9fed2
commit
a00f1c1e1c
@ -20,9 +20,11 @@
|
|||||||
<p>{% trans %}Tagged with{% endtrans %}
|
<p>{% trans %}Tagged with{% endtrans %}
|
||||||
{% for tag in media.tags %}
|
{% for tag in media.tags %}
|
||||||
{% if loop.last %}
|
{% if loop.last %}
|
||||||
|
{# the 'and' should only appear if there is more than one tag #}
|
||||||
{% if media.tags|length > 1 %}
|
{% if media.tags|length > 1 %}
|
||||||
{% trans %}and{% endtrans %}
|
{% trans %}and{% endtrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="{{ request.urlgen(
|
<a href="{{ request.urlgen(
|
||||||
'mediagoblin.listings.tags_listing',
|
'mediagoblin.listings.tags_listing',
|
||||||
tag=tag['slug']) }}">{{ tag['name'] }}</a>.
|
tag=tag['slug']) }}">{{ tag['name'] }}</a>.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user