Auto-remove POT dating.
[redakcja.git] / src / catalogue / templates / catalogue / author_detail.html
1 {% extends "documents/base.html" %}
2
3 {% load i18n %}
4 {% load pagination_tags %}
5
6
7 {% block titleextra %}{% trans "Catalogue" %}{% endblock %}
8
9
10 {% block content %}
11   <div class="card">
12     <div class="card-header">
13       <h1>{% trans "Catalogue" %}</h1>
14     </div>
15     <div class="card-body">
16
17       <table class="table">
18           <tr>
19             <th>
20               <a href="{{ author.get_absolute_url }}">
21                 {{ author }}
22               </a>
23             </th>
24             <td>
25               {{ author.pd_year|default_if_none:"-" }}
26             </td>
27             <td>
28               {{ author.wikidata_link }}
29             </td>
30             <td>
31               {{ author.get_priority_display }}
32             </td>
33           </tr>
34           {% for book in author.book_set.all %}
35             <tr>
36               <td>
37                 &nbsp;
38                 <a href="{{ book.get_absolute_url }}">
39                   {{ book.title }}
40                 </a>
41               </td>
42               <td>
43                 {{ book.pd_year|default_if_none:"-" }}
44               </td>
45               <td>
46                 {{ book.wikidata_link }}
47               </td>
48               <td>
49                 {{ book.get_priorty_display }}
50               </td>
51               <td>
52                 {% for b in book.document_books %}
53                   <a href="{{ b.get_absolute_url }}">
54                     {{ b }}
55                   </a>
56                 {% endfor %}
57               </td>
58             </tr>
59           {% endfor %}
60           {% for book in author.translated_book_set.all %}
61             <tr>
62               <td>
63                 &nbsp;
64                 <a href="{{ book.get_absolute_url }}">
65                   {{ book.title }}
66                 </a> ({% trans "trans." %})
67               </td>
68               <td>
69                 {{ book.pd_year|default_if_none:"-" }}
70               </td>
71               <td>
72                 {{ book.wikidata_link }}
73               </td>
74               <td>
75                 {{ book.get_priorty_display }}
76               </td>
77               <td>
78                 {% for b in book.document_books %}
79                   <a href="{{ b.get_absolute_url }}">
80                     {{ b }}
81                   </a>
82                 {% endfor %}
83               </td>
84             </tr>
85           {% endfor %}
86       </table>
87     </div>
88   </div>
89 {% endblock content %}