X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/54d2f3a9f5501bfca8ab48544123f2851c6c4085..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/catalogue/templates/catalogue/image_table.html diff --git a/apps/catalogue/templates/catalogue/image_table.html b/apps/catalogue/templates/catalogue/image_table.html index b152946a..e6caedda 100755 --- a/apps/catalogue/templates/catalogue/image_table.html +++ b/apps/catalogue/templates/catalogue/image_table.html @@ -1,5 +1,7 @@ {% load i18n %} {% load pagination_tags %} +{% load username from common_tags %} +
@@ -9,10 +11,12 @@ {% endif %} +
+ {% endif %} @@ -50,6 +54,16 @@ {% endfor %} + + {% with cnt=objects|length %} @@ -58,7 +72,7 @@ {% for item in objects %} {{ item.short_html|safe }} {% endfor %} - @@ -67,3 +81,20 @@ {% if not objects %}

{% trans "No images found." %}

{% endif %} + + +{% csrf_token %} + + + + + + + + +
@@ -37,7 +41,7 @@ {% endif %}value="-">- {% trans "none" %} - {% for user in users %} + {% endif %}value="{{ user.username }}">{{ user|username }} ({{ user.count }}) {% endfor %}
+
{% paginate %} {% blocktrans count c=cnt %}{{c}} image{% plural %}{{c}} images{% endblocktrans %}