X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/06e460b91c23f11e92bf5ae711a4ed2226d3a0c7..21cd47e315b2e86edeff93bac5d1eca5b5d2c428:/src/catalogue/templates/catalogue/book_detail.html diff --git a/src/catalogue/templates/catalogue/book_detail.html b/src/catalogue/templates/catalogue/book_detail.html old mode 100755 new mode 100644 index e2735988..85cfcc96 --- a/src/catalogue/templates/catalogue/book_detail.html +++ b/src/catalogue/templates/catalogue/book_detail.html @@ -1,103 +1,80 @@ -{% extends "catalogue/base.html" %} -{% load book_list i18n %} +{% extends "documents/base.html" %} +{% load i18n %} +{% load pagination_tags %} -{% block titleextra %}{{ book.title }}{% endblock %} - -{% block content %} - - -
{% trans "Append to other book" %}
-{% endif %} - - -{% trans "Last published" %}: - {% if book.last_published %} - {{ book.last_published }} - {% else %} - — - {% endif %} -
- -{% if publishable %} -
- {% trans "Full XML" %}
- {% trans "HTML version" %}
- {% trans "TXT version" %}
- {% trans "PDF version" %}
- {% trans "PDF version for mobiles" %}
- {% trans "EPUB version" %}
- {% trans "MOBI version" %}
-
{% trans "This book can't be published yet, because:" %}
-+ + {{ author }} + + | ++ {{ author.pd_year|default_if_none:"-" }} + | ++ {{ author.wikidata_link }} + | ++ {{ author.get_priority_display }} + | +|
---|---|---|---|---|
+ + {{ author }} + + | ++ {{ author.pd_year|default_if_none:"-" }} + | ++ {{ author.wikidata_link }} + | ++ {{ author.get_priority_display }} + | +|
+ + + {{ book.title }} + + | ++ {{ book.pd_year|default_if_none:"-" }} + | ++ {{ book.wikidata_link }} + | ++ {{ book.get_priorty_display }} + | ++ {% for b in book.document_books.all %} + + {{ b }} + + {% endfor %} + | +