Merge branch 'reflow'
[wolnelektury.git] / src / catalogue / templates / catalogue / book_info.html
1 {% load i18n %}
2 {% load catalogue_tags %}
3
4 <p>
5     {% if book.extra_info.license %}
6         {% trans "This work is licensed under:" %}
7         <a href="{{ book.extra_info.license }}">{{ book.extra_info.license_description }}</a>
8     {% else %}
9         {% blocktrans %}This work isn't covered by copyright and is part of the
10         public domain, which means it can be freely used, published and
11         distributed. If there are any additional copyrighted materials
12         provided with this work (such as annotations, motifs etc.), those
13         materials are licensed under the 
14         <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0</a>
15         license.{% endblocktrans %}
16     {% endif %}
17 </p>
18
19 {% if book.extra_info.source_name %}
20   <p>{% trans "Resource prepared based on:" %} {{ book.extra_info.source_name }}</p>
21 {% endif %}
22
23 {% if book.extra_info.description %}
24   <p>{{ book.extra_info.description }}</p>
25 {% endif %}
26
27 {% if book.extra_info.editor or book.extra_info.technical_editor %}
28   <p>{% if is_picture %}
29         {% trans "Edited by:" %}
30     {% else %}
31         {% trans "Edited and annotated by:" %}
32     {% endif %}
33       {% all_editors book.extra_info %}.</p>
34 {% endif %}
35
36 {% if book.extra_info.funders %}
37   <p>{% trans "Publication funded by:" %}
38       {% for funder in book.extra_info.funders %}{{ funder }}{% if not forloop.last %}, {% else %}.{% endif %}{% endfor %}
39   </p>
40 {% endif %}
41
42 {% if book.extra_info.cover_by %}
43   <p>{% trans "Cover image by:" %}
44       <a href="{{ book.extra_info.cover_source }}">
45       {{ book.extra_info.cover_by }}</a>.</p>
46 {% endif %}