Navigation buttons edits. Removed images as they are no longer needed. Related: bug...
[mediagoblin.git] / mediagoblin / templates / mediagoblin / utils / tags.html
index 32db6e31126d45c681ef8d9a1695cf5196e6b34e..19ca8d2a4d34735e3e103a3ef10c3b4a88b5cf3b 100644 (file)
@@ -1,6 +1,6 @@
 {#
 # 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 %}