Generally working version.
[wolnelektury.git] / src / picture / templates / picture / picture_short.html
index 1bd70a1..35fba77 100644 (file)
@@ -10,7 +10,7 @@
         <div class="book-box-head">
             <div class="author">
                 {% for tag in tags.author %}
-                    <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %},
+                    <a href="{{ tag.get_absolute_gallery_url }}">{{ tag }}</a>{% if not forloop.last %},
                 {% endif %}{% endfor %}
             </div>
             <div class="title">
     {% endblock %}
      {# what about licensing icons here #}
   </div>
-     
+
         <div class="tags">
             {% spaceless %}
 
             <span class="category">
             <span class="mono"> {% trans "Epoch" %}:</span>&nbsp;<span class="book-box-tag">
                {% for tag in tags.epoch %}
-                       <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+                       <a href="{{ tag.get_absolute_gallery_url }}">{{ tag }}</a>
                        {% if not forloop.last %}<span>, </span>{% endif %}
                 {% endfor %}
             </span></span>
@@ -47,7 +47,7 @@
             <span class="category">
             <span class="mono"> {% trans "Kind" %}:</span>&nbsp;<span class="book-box-tag">
                {% for tag in tags.kind %}
-                       <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+                       <a href="{{ tag.get_absolute_gallery_url }}">{{ tag }}</a>
                        {% if not forloop.last %}<span>, </span>{% endif %}
                 {% endfor %}
             </span></span>
@@ -55,7 +55,7 @@
             <span class="category">
             <span class="mono"> {% trans "Genre" %}:</span>&nbsp;<span class="book-box-tag">
                {% for tag in tags.genre %}
-                       <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+                       <a href="{{ tag.get_absolute_gallery_url }}">{{ tag }}</a>
                        {% if not forloop.last %}<span>, </span>{% endif %}
                 {% endfor %}
             </span></span>