{#
# GNU MediaGoblin -- federated, autonomous media hosting
-# Copyright (C) 2011 Free Software Foundation, Inc
+# Copyright (C) 2011 MediaGoblin contributors. See AUTHORS.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
#}
{% block tags_content -%}
- <h3>Tags</h3>
- <ul class="mediaentry_tags">
+ <p>{% trans %}Tagged with{% endtrans %}
{% for tag in media.tags %}
- <li class="tag">
- <a href="{{ request.urlgen(
+ {% if loop.last %}
+ {% trans %}and{% endtrans %} <a href="{{ request.urlgen(
'mediagoblin.listings.tags_listing',
- tag=tag['slug']) }}">{{ tag['name'] }}</li>
+ tag=tag['slug']) }}">{{ tag['name'] }}</a>.
+ {% elif loop.revindex==2 %}
+ <a href="{{ request.urlgen(
+ 'mediagoblin.listings.tags_listing',
+ tag=tag['slug']) }}">{{ tag['name'] }}</a>
+ {% else %}<a href="{{ request.urlgen(
+ 'mediagoblin.listings.tags_listing',
+ tag=tag['slug']) }}">{{ tag['name'] }}</a>,
+ {% endif %}
{% endfor %}
- </ul>
+ </p>
{% endblock %}