X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c3bcc0703d6255b78c2a6813bbea03e9581609e0..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/catalogue/templates/catalogue/book_list/book.html diff --git a/apps/catalogue/templates/catalogue/book_list/book.html b/apps/catalogue/templates/catalogue/book_list/book.html index 46d5ae12..f6a0fcd2 100755 --- a/apps/catalogue/templates/catalogue/book_list/book.html +++ b/apps/catalogue/templates/catalogue/book_list/book.html @@ -1,28 +1,32 @@ {% load i18n %} +{% load username from common_tags %} {% if book.single %} {% with book.0 as chunk %} - [B] - [c] + + [B] + [c] + href="{% url 'wiki_editor' book.slug %}"> {{ book.title }} {% if chunk.stage %} {{ 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 %} - [B] + + [B] {{ book.title }} @@ -31,5 +35,6 @@ {% if book.published %}P{% endif %} {% if book.new_publishable %}p{% endif %} + {{ book.project.name }} {% endif %}