+
{% html_title_from_tags tags %}
- {% if only_shelf and not object_list %}
-
-
{% trans "Your shelf is empty" %}
-
{% trans "You can put a book on a shelf by entering page of the reading and clicking 'Put on the shelf'." %}
+ {% with tags|last as last_tag %}
+ {% if last_tag.has_description %}
+
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:40 }}
- {% else %}
- {% autopaginate object_list 10 %}
-
- {% with tags|last as last_tag %}
- {% if last_tag.has_description %}
-
-
{{ last_tag.description|safe }}
-
{{ last_tag.description|safe|truncatewords_html:30 }}
-
-
-
+ {% endif %}
+
+
+
+ {% if categories.author %}
+
+
+
+ {% inline_tag_list categories.author tags %}
+
+
+ {% endif %}
+ {% if categories.kind %}
+
+
+
+ {% inline_tag_list categories.kind tags %}
+
+
+ {% endif %}
+ {% if categories.genre %}
+
+
+
+ {% inline_tag_list categories.genre tags %}
+
+
+ {% endif %}
+ {% if categories.epoch %}
+
+
+
+ {% inline_tag_list categories.epoch tags %}
+
+
+ {% endif %}
+
+ {% if categories.theme %}
+
+ {% endif %}
+
+
+
+
+
+ {% if theme_is_set %}
+
+ {% if last_tag.gazeta_link or last_tag.wiki_link %}
+
{% trans "See also" %}:
+
+ {% endif %}
+
+ {% endif %}
+
+
+
+
+
+
+
+ {% if theme_is_set %}
+ {% work_list object_list %}
+ {% else %}
+ {% cite_promo tags 1 %}
+
+
+ {% if last_tag.gazeta_link or last_tag.wiki_link %}
+
{% trans "See also" %}:
+
+ {% endif %}
+
+
+
+ {% comment %}
+
{% trans "Download" %}:
+
+ {% endcomment %}
+
+ {% endif %}
+
+
+
+
+
+
+
+ {% if not theme_is_set %}
+
{% if object_list %}
- {% spaceless %}
-
- {% for book in object_list %}
- -
- {% if user_is_owner %}
- {% trans "Delete" %}
- {% endif %}
- {{ book.short_html }}
- {% endfor %}
-
- {% endspaceless %}
- {% paginate %}
+ {% work_list object_list %}
{% else %}
{% trans "Sorry! Search cirteria did not match any resources." %}
{% include "info/join_us.html" %}
{% endif %}
- {% endwith %}
-
- {% if object_list %}
- {% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %}
-
- {% endif %}
{% endif %}
-
-
-
-
{% trans "Loading" %}
-
-
+ {% endwith %}
{% endblock %}