85d29adc5b22b89f0419f91004b5b599e7e09202
[wolnelektury.git] / src / pdcounter / templates / pdcounter / author_detail.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load time_tags %}
4
5 {% block settings %}
6   {% load title %}
7   {% title author.name %}
8 {% endblock %}
9
10 {% block breadcrumbs %}
11   <a href="/katalog/"><span>Katalog</span></a>
12   <a href="/katalog/autor/"><span>Autor</span></a>
13 {% endblock %}
14
15 {% block main %}
16   <div class="l-section">
17     <div class="l-author__header">
18       <h1>{{ author.name }}</h1>
19     </div>
20   </div>
21
22   <div class="l-section">
23
24
25     {% if author.alive %}
26       <p>
27         {% trans "This author's works are copyrighted." %}
28         {% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}
29       </p>
30     {% else %}
31       {% if author.in_pd %}
32         <p>{% trans "This author's works are in public domain, but they were not yet published on Internet library of Wolne Lektury." %}</p>
33       {% else %}
34         <div>
35           <p>
36             {% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}
37           </p>
38           <div class='countdown' data-until='{{ pd_counter|date_to_utc|utc_for_js }}'></div>
39           <p>
40             {% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}
41           </p>
42         </div>
43       {% endif %}
44     {% endif %}
45
46
47   </div>
48
49   <section class="l-section">
50     <div class="l-author">
51       {% include "catalogue/author_box.html" %}
52     </div>
53   </section>
54 {% endblock %}