cover images; sorl>=10; hook sponsors off sorl
[wolnelektury.git] / wolnelektury / templates / catalogue / folded_tag_list.html
index cd7a672..a6ff53a 100644 (file)
@@ -1,6 +1,7 @@
+{% load i18n %}
 {% load catalogue_tags %}
 {% if one_tag %}
-    <p>Zobacz całą kategorię <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a>.</p>
+    <p>{% trans "Show full category" %} <a href="{% catalogue_url one_tag %}">{{ one_tag }}</a>.</p>
 {% else %}
     <div class="shown-tags">
         <ul class="shown-tags">
             {% endfor %}
         </ul>
         {% if some_tags_hidden %}
-            <p><a href="#" class="show-all-tags">[Zobacz wszystkie]</a></p>
+            <p><a href="#" class="show-all-tags">{% trans "See more" %}</a></p>
         {% endif %}
     </div>
-    <ul class="all-tags">
-        {% for tag in tags %}
-            <li><a href="{% catalogue_url choices tag %}">{{ tag }}&nbsp;({{ tag.count }})</a></li>
-        {% endfor %}      
-    </ul>    
+    <div class="all-tags">
+        <ul>
+            {% for tag in tags %}
+                <li><a href="{% catalogue_url choices tag %}">{{ tag }}&nbsp;({{ tag.count }})</a></li>
+            {% endfor %}
+        </ul>
+        <p><a href="#" class="hide-all-tags">{% trans "Hide" %}</a></p>
+    </div>
 {% endif %}