Locatizations.
[wolnelektury.git] / src / catalogue / templates / catalogue / tag_list.html
index e0fecc0..f6250ae 100644 (file)
@@ -1,21 +1,22 @@
 {% spaceless %}
 
-{% load i18n %}
-{% load catalogue_tags %}
-{% if one_tag %}
-    <p>{% trans "See full category" %} <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a></p>
-{% else %}
+  {% load i18n %}
+  {% load catalogue_tags %}
+
+  {% if one_tag %}
+    <p>{% trans "Zobacz całą kategorię" %} <a href="{% catalogue_url 'default' one_tag %}">{{ one_tag }}</a></p>
+  {% else %}
     <ul>
-        {% if choices %}
+      {% if choices %}
         {% for tag in tags %}
-            <li><a href="{% catalogue_url choices tag %}">{{ tag }}{% if tag.count %}&nbsp;({{ tag.count }}){% endif %}</a></li>
+          <li><a href="{% catalogue_url 'default' choices tag %}">{{ tag }}{% if tag.count %}&nbsp;({{ tag.count }}){% endif %}</a></li>
         {% endfor %}
-        {% else %}
+      {% else %}
         {% for tag in tags %}
-            <li><a href="{{ tag.get_absolute_url }}">{{ tag }}{% if tag.count %}&nbsp;({{ tag.count }}){% endif %}</a></li>
+          <li><a href="{{ tag.get_absolute_url }}">{{ tag }}{% if tag.count %}&nbsp;({{ tag.count }}){% endif %}</a></li>
         {% endfor %}
-        {% endif %}
+      {% endif %}
     </ul>
-{% endif %}
+  {% endif %}
 
-{% endspaceless %}
\ No newline at end of file
+{% endspaceless %}