Cop notes.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_info.html
old mode 100755 (executable)
new mode 100644 (file)
index e245335..3fde246
@@ -1,46 +1,73 @@
 {% load i18n %}
 {% load catalogue_tags %}
 
-<p>
-    {% if book.extra_info.license %}
-        {% trans "This work is licensed under:" %}
-        <a href="{{ book.extra_info.license }}">{{ book.extra_info.license_description }}</a>
+{% with extra_info=book.get_extra_info_json %}
+  <p>
+    Wszystkie zasoby Wolnych Lektur możesz swobodnie wykorzystywać,
+    publikować i rozpowszechniać pod warunkiem zachowania warunków
+    licencji i zgodnie z <a href="https://wolnelektury.pl/info/zasady-wykorzystania/">Zasadami wykorzystania Wolnych Lektur</a>.<br>
+
+    {% if extra_info.license %}
+      Ten utwór jest jest udostępniony na
+      <a href="{{ extra_info.license }}">{% license_locative extra_info.license extra_info.license_description %}</a>.
     {% 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 
-        <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0</a>
-        license.{% endblocktrans %}
+      Ten utwór jest w domenie publicznej.
     {% endif %}
-</p>
+    <br>
+    Wszystkie materiały dodatkowe (przypisy, motywy literackie) są
+    udostępnione na <a href="https://artlibre.org/licence/lal/pl/">Licencji Wolnej Sztuki 1.3</a>.<br>
+    Fundacja Nowoczesna Polska zastrzega sobie prawa do wydania
+    krytycznego zgodnie z art. Art.99(2) Ustawy o prawach autorskich
+    i prawach pokrewnych. Wykorzystując zasoby z Wolnych Lektur,
+    należy pamiętać o zapisach licencji oraz zasadach, które
+    spisaliśmy w <a href="https://wolnelektury.pl/info/zasady-wykorzystania/">Zasadach wykorzystania Wolnych Lektur</a>.
+    Zapoznaj się z nimi, zanim udostępnisz dalej nasze książki.
+  </p>
 
-{% if book.extra_info.source_name %}
-  <p>{% trans "Resource prepared based on:" %} {{ book.extra_info.source_name }}</p>
+{% if extra_info.source_name %}
+  <p>{% trans "Resource prepared based on:" %} {{ extra_info.source_name }}</p>
 {% endif %}
 
-{% if book.extra_info.description %}
-  <p>{{ book.extra_info.description }}</p>
+{% if extra_info.description %}
+  <p>{{ extra_info.description }}</p>
 {% endif %}
 
-{% if book.extra_info.editor or book.extra_info.technical_editor %}
-  <p>{% if is_picture %}
-        {% trans "Edited by:" %}
+{% if extra_info.editor or extra_info.technical_editor %}
+  <p>
+    {% if is_picture %}
+      {% trans "Edited by:" %}
     {% else %}
-        {% trans "Edited and annotated by:" %}
+      {% trans "Edited and annotated by:" %}
     {% endif %}
-      {% all_editors book.extra_info %}.</p>
+    {% all_editors extra_info %}.
+  </p>
 {% endif %}
 
-{% if book.extra_info.funders %}
-  <p>{% trans "Publication funded by:" %}
-      {% for funder in book.extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %}
+{% if extra_info.publisher %}
+  <p>
+    {% trans "Publisher:" %}
+    {{ book.publisher }}
   </p>
 {% endif %}
 
-{% if book.extra_info.cover_by %}
-  <p>{% trans "Cover image by:" %}
-      <a href="{{ book.extra_info.cover_source }}">
-      {{ book.extra_info.cover_by }}</a>.</p>
+{% if extra_info.funders %}
+  <p>
+    {% trans "Publication funded by:" %}
+    {% for funder in extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %}
+  </p>
 {% endif %}
+
+{% if extra_info.cover_by %}
+  <p>
+    {% trans "Cover image by:" %}
+    <a href="{{ extra_info.cover_source }}">{{ extra_info.cover_by }}</a>.
+  </p>
+{% endif %}
+
+{% if extra_info.isbn_html %}
+  <p>
+    {{ extra_info.isbn_html }}
+  </p>
+{% endif %}
+
+{% endwith %}