rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / apps / pdcounter / templates / pdcounter / author_detail.html
1 {% extends "base.html" %}
2 {% load i18n %}
3
4 {% block titleextra %}{{ author.name }}{% endblock %}
5
6 {% block metadescription %}Licznik domeny publicznej: {{author.name}}.{% endblock %}
7
8 {% block bodyid %}author-detail{% endblock %}
9
10 {% block body %}
11
12     <div class="left-column">
13     <h1>{{ author.name }}</h1>
14         <div class="normal-text white-box">
15         {% if author.has_description %}
16             <div id="description">
17                 <div id='description-long'>{{ author.description|safe }}</div>
18                 <div id='description-short'>{{ author.description|safe|truncatewords_html:30 }}</div>
19             </div>
20             <div class="clearboth"></div>
21             <div id="toggle-description"><p></p></div>
22         {% endif %}
23         {% if author.gazeta_link %}
24         <p><a href="{{ author.gazeta_link }}">
25             {% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
26         </a></p>
27         {% endif %}
28         {% if author.wiki_link %}
29         <p><a href="{{ author.wiki_link }}">
30             {% trans "Read article about this author on Wikipedia" %}
31         </a></p>
32         {% endif %}
33
34         {% if author.alive %}
35             <p>{% trans "This author's works are copyrighted." %}
36             {% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}</p>
37         {% else %}
38             {% if author.in_pd %}
39                 <p>{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}</p>
40             {% else %}
41                 <div>
42                     <p>{% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}</p>
43                     <div id='countdown' data-year='{{ pd_counter }}'></div>
44                     <p>{% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}</p>
45                 </div>
46             {% endif %}
47         {% endif %}
48         {% include "info/join_us.html" %}
49     </div>
50     </div>
51
52     <div class="right-column block-form">
53         {% include "publishing_suggest.html" %}
54     </div>
55 {% endblock %}