X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/catalogue/templates/catalogue/image_short.html diff --git a/apps/catalogue/templates/catalogue/image_short.html b/apps/catalogue/templates/catalogue/image_short.html index 2e2b386c..c7ff77b7 100755 --- a/apps/catalogue/templates/catalogue/image_short.html +++ b/apps/catalogue/templates/catalogue/image_short.html @@ -1,18 +1,21 @@ {% load i18n %} +{% load username from common_tags %} - [B] + + [B] + href="{% url 'wiki_img_editor' image.slug %}"> {{ image.title }} {% if image.stage %} {{ image.stage }} {% else %}– {% endif %} - {% if image.user %}{{ image.user.first_name }} {{ image.user.last_name }}{% endif %} + {% if image.user %}{{ image.user|username }}{% endif %} {% if image.published %}P{% endif %} {% if image.new_publishable %}p{% endif %} {% if image.changed %}+{% endif %} + {{ image.project.name }}