1 {% extends "base.html" %}
3 {% load catalogue_tags pagination_tags switch_tag %}
5 {% block titleextra %}{% title_from_tags tags %}{% endblock %}
7 {% block bodyid %}tagged-object-list{% endblock %}
10 <div class="left-column">
11 <div class="page-desc">
12 <h1>{% title_from_tags tags %}</h1>
14 {% with tags|last as last_tag %}
15 {% if last_tag.has_description %}
16 <div id="description">
17 <div id='description-long'>{{ last_tag.description|safe }}</div>
18 <div id='description-short'>{{ last_tag.description|safe|truncatewords_html:30 }}</div>
20 <div class="clearboth"></div>
21 <div id="toggle-description"><p></p></div>
25 <div class="inline-tag-lists">
26 {% if categories.author %}
27 <p><span class="mono">{% trans "Authors" %}:</span>
28 {% inline_tag_list categories.author tags %}
31 {% if categories.kind %}
32 <p><span class="mono">{% trans "Kinds" %}:</span>
33 {% inline_tag_list categories.kind tags %}
36 {% if categories.genre %}
37 <p><span class="mono">{% trans "Genres" %}:</span>
38 {% inline_tag_list categories.genre tags %}
41 {% if categories.epoch %}
42 <p><span class="mono">{% trans "Epochs" %}:</span>
43 {% inline_tag_list categories.epoch tags %}
48 {% if categories.theme %}
49 <div id="themes-list-wrapper">
50 <p><a href="#" id="themes-list-toggle" class="mono">{% trans "Motifs and themes" %}</a></p>
51 <div id="themes-list">
52 {% tag_list categories.theme tags %}
61 <div class="right-column">
62 <a href="" class="cite">
63 <div class="cite-body">
64 Dobranoc, obróć jeszcze raz na mnie oczęta,<br/>
65 (…) Daj mi pierś ucałować<br/>
68 <p class="mono">Adam Mickiewicz, Dziady część III</p>
71 <div class="see-also">
72 <h2 class='mono'>{% trans "See also" %}:</h2>
74 <li><a href="">Wiki</a></li>
75 <li><a href="">Gazeta</a></li>
79 <div class="download">
80 <h2 class='mono'>{% trans "Download" %}:</h2>
82 <li><a href="">wszystko</a></li>
83 <li><a href="">część</a></li>
89 <div class="clearboth"></div>
94 {% autopaginate object_list 10 %}
98 {% if last_tag.gazeta_link %}
99 <p><a href="{{ last_tag.gazeta_link }}">
100 {% switch last_tag.category %}
102 {% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
104 {% blocktrans %}Read study of epoch {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
106 {% blocktrans %}Read study of kind {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
108 {% blocktrans %}Read study of genre {{ last_tag }} on Lektury.Gazeta.pl{% endblocktrans %}
110 {% trans "Read related study on Lektury.Gazeta.pl" %}
114 {% if last_tag.wiki_link %}
115 <p><a href="{{ last_tag.wiki_link }}">
116 {% switch last_tag.category %}
118 {% trans "Read article about this author on Wikipedia" %}
120 {% blocktrans %}Read article about epoch {{ last_tag }} on Wikipedia{% endblocktrans %}
122 {% blocktrans %}Read article about kind {{ last_tag }} on Wikipedia{% endblocktrans %}
124 {% blocktrans %}Read article about genre {{ last_tag }} on Wikipedia{% endblocktrans %}
126 {% trans "Read related article on Wikipedia" %}
133 <ol class='work-list'>
134 {% for book in object_list %}
135 <li class='work-item'>
136 {% if user_is_owner %}
137 <a href="{% url remove_from_shelf last_tag.slug book.slug %}" class="remove-from-shelf">{% trans "Delete" %}</a>
139 {{ book.short_html }}</li>
145 {% trans "Sorry! Search cirteria did not match any resources." %}
146 {% include "info/join_us.html" %}
151 {% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %}