X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/43116c58e5c56f94ef358a5a17fb13a252e02531..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/catalogue/templates/catalogue/book_list/book.html?ds=sidebyside diff --git a/apps/catalogue/templates/catalogue/book_list/book.html b/apps/catalogue/templates/catalogue/book_list/book.html index 658d009c..f6a0fcd2 100755 --- a/apps/catalogue/templates/catalogue/book_list/book.html +++ b/apps/catalogue/templates/catalogue/book_list/book.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load username from common_tags %} {% if book.single %} {% with book.0 as chunk %} @@ -13,12 +14,13 @@ {{ chunk.stage }} {% else %}– {% endif %} - {% if chunk.user %}{{ chunk.user.first_name }} {{ chunk.user.last_name }}{% endif %} + {% if chunk.user %}{{ chunk.user|username }}{% endif %} {% if chunk.published %}P{% endif %} {% if book.new_publishable %}p{% endif %} {% if chunk.changed %}+{% endif %} + {{ book.project.name }} {% endwith %} {% else %} @@ -33,5 +35,6 @@ {% if book.published %}P{% endif %} {% if book.new_publishable %}p{% endif %} + {{ book.project.name }} {% endif %}