X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..cafca91e28661f24abbcda91c733de7e77d16e86:/src/catalogue/templates/catalogue/book_info.html diff --git a/src/catalogue/templates/catalogue/book_info.html b/src/catalogue/templates/catalogue/book_info.html old mode 100755 new mode 100644 index e245335ee..cbbd84337 --- a/src/catalogue/templates/catalogue/book_info.html +++ b/src/catalogue/templates/catalogue/book_info.html @@ -1,46 +1,73 @@ {% load i18n %} {% load catalogue_tags %} -
- {% if book.extra_info.license %} - {% trans "This work is licensed under:" %} - {{ book.extra_info.license_description }} +{% with extra_info=book.get_extra_info_json %} +
+ Wszystkie zasoby Wolnych Lektur możesz swobodnie wykorzystywaÄ,
+ publikowaÄ i rozpowszechniaÄ pod warunkiem zachowania warunków
+ licencji i zgodnie z Zasadami wykorzystania Wolnych Lektur.
+
+ {% if extra_info.license %}
+ Ten utwór jest jest udostÄpniony na
+ {% license_locative extra_info.license 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
- distributed. If there are any additional copyrighted materials
- provided with this work (such as annotations, motifs etc.), those
- materials are licensed under the
- Creative Commons Attribution-ShareAlike 3.0
- license.{% endblocktrans %}
+ Ten utwór jest w domenie publicznej.
{% endif %}
-
{% trans "Resource prepared based on:" %} {{ book.extra_info.source_name }}
+{% if extra_info.source_name %} +{% trans "Resource prepared based on:" %} {{ extra_info.source_name }}
{% endif %} -{% if book.extra_info.description %} -{{ book.extra_info.description }}
+{% if extra_info.description %} +{{ extra_info.description }}
{% endif %} -{% if book.extra_info.editor or book.extra_info.technical_editor %} -{% if is_picture %} - {% trans "Edited by:" %} +{% if extra_info.editor or extra_info.technical_editor %} +
+ {% if is_picture %} + {% trans "Edited by:" %} {% else %} - {% trans "Edited and annotated by:" %} + {% trans "Edited and annotated by:" %} {% endif %} - {% all_editors book.extra_info %}.
+ {% all_editors 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 %} +{% if extra_info.publisher %} +
+ {% trans "Publisher:" %} + {{ book.publisher }}
{% endif %} -{% if book.extra_info.cover_by %} -{% trans "Cover image by:" %} - - {{ book.extra_info.cover_by }}.
+{% if extra_info.funders %} ++ {% trans "Publication funded by:" %} + {% for funder in extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %} +
{% endif %} + +{% if extra_info.cover_by %} ++ {% trans "Cover image by:" %} + {{ extra_info.cover_by }}. +
+{% endif %} + +{% if extra_info.isbn_html %} ++ {{ extra_info.isbn_html }} +
+{% endif %} + +{% endwith %}