X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..a0f904af83bea5306b09fd66d8dfa254761f5a07:/src/catalogue/templates/catalogue/book_info.html?ds=sidebyside 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..838b59fb0 --- a/src/catalogue/templates/catalogue/book_info.html +++ b/src/catalogue/templates/catalogue/book_info.html @@ -1,46 +1,89 @@ {% load i18n %} {% load catalogue_tags %} +{% load thumbnail %} -
- {% if book.extra_info.license %} - {% trans "This work is licensed under:" %} - {{ book.extra_info.license_description }} +{% with extra_info=book.get_extra_info_json %} +
+ {% blocktrans trimmed with url="https://wolnelektury.pl/info/zasady-wykorzystania/" %}
+ Wszystkie zasoby Wolnych Lektur możesz swobodnie wykorzystywaÄ,
+ publikowaÄ i rozpowszechniaÄ pod warunkiem zachowania warunków
+ licencji i zgodnie z Zasadami wykorzystania Wolnych Lektur.
+ {% endblocktrans %}
+
+
+ {% if extra_info.license %}
+ {% blocktrans trimmed context "licencji" %}
+ Ten utwór jest jest udostÄpniony na
+ {% endblocktrans %}
+ {% 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 %}
+ {% trans "Ten utwór jest w domenie publicznej." %}
{% endif %}
-
{% trans "Resource prepared based on:" %} {{ book.extra_info.source_name }}
-{% endif %} + {% if extra_info.source_name %} +{% trans "Zasób opracowany na podstawie:" %} {{ extra_info.source_name }}
+ {% endif %} -{% if book.extra_info.description %} -{{ book.extra_info.description }}
-{% endif %} + {% 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:" %} - {% else %} - {% trans "Edited and annotated by:" %} - {% endif %} - {% all_editors book.extra_info %}.
-{% endif %} + {% if extra_info.logo %} + {% thumbnail extra_info.logo '300x200' as th %} + + {% endthumbnail %} + {% endif %} + + {% if extra_info.editor or extra_info.technical_editor %} ++ {% if is_picture %} + {% trans "Opracowanie redakcyjne:" %} + {% else %} + {% trans "Opracowanie redakcyjne i przypisy:" %} + {% endif %} + {% all_editors extra_info %}. +
+ {% endif %} + + {% if extra_info.publisher %} ++ {% trans "Wydawca:" %} + {{ book.publisher }} +
+ {% 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.funders %} +
+ {% trans "PublikacjÄ wsparli i wsparÅy:" %} + {% for funder in extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %} +
+ {% endif %} + + {% if extra_info.cover_by %} ++ {% trans "Ilustracja na okÅadce:" %} + {{ extra_info.cover_by }}. +
+ {% endif %} + +{% if extra_info.isbn_html %} ++ {{ extra_info.isbn_html }}
{% endif %} -{% if book.extra_info.cover_by %} -{% trans "Cover image by:" %} - - {{ book.extra_info.cover_by }}.
-{% endif %} +{% endwith %}