X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..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 68293e77..e6caedda 100755 --- a/apps/catalogue/templates/catalogue/image_table.html +++ b/apps/catalogue/templates/catalogue/image_table.html @@ -1,18 +1,22 @@ {% load i18n %} {% load pagination_tags %} +{% load username from common_tags %} -
+ + {% if not viewed_user %} {% 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 %}