X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..82c3054bcdeb000aa9782da80d644070797b5cbe:/apps/catalogue/templates/catalogue/book_info.html diff --git a/apps/catalogue/templates/catalogue/book_info.html b/apps/catalogue/templates/catalogue/book_info.html index 670679e28..e245335ee 100755 --- a/apps/catalogue/templates/catalogue/book_info.html +++ b/apps/catalogue/templates/catalogue/book_info.html @@ -2,9 +2,9 @@ {% load catalogue_tags %}

- {% if book.get_extra_info_value.license %} + {% if book.extra_info.license %} {% trans "This work is licensed under:" %} - {{ book.get_extra_info_value.license_description }} + {{ book.extra_info.license_description }} {% else %} {% blocktrans %}This work isn't covered by copyright and is part of the public domain, which means it can be freely used, published and @@ -16,15 +16,31 @@ {% endif %}

-{% if book.get_extra_info_value.source_name %} -

{% trans "Text prepared based on:" %} {{ book.get_extra_info_value.source_name }}

+{% if book.extra_info.source_name %} +

{% trans "Resource prepared based on:" %} {{ book.extra_info.source_name }}

{% endif %} -{% if book.get_extra_info_value.description %} -

{{ book.get_extra_info_value.description }}

+{% if book.extra_info.description %} +

{{ book.extra_info.description }}

{% endif %} -{% if book.get_extra_info_value.editor or book.get_extra_info_value.technical_editor %} -

{% trans "Edited and annotated by:" %} - {% all_editors book.get_extra_info_value %}.

+{% if book.extra_info.editor or book.extra_info.technical_editor %} +

{% if is_picture %} + {% trans "Edited by:" %} + {% else %} + {% trans "Edited and annotated by:" %} + {% endif %} + {% all_editors book.extra_info %}.

+{% endif %} + +{% if book.extra_info.funders %} +

{% trans "Publication funded by:" %} + {% for funder in book.extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %} +

+{% endif %} + +{% if book.extra_info.cover_by %} +

{% trans "Cover image by:" %} + + {{ book.extra_info.cover_by }}.

{% endif %}