fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / tagged_object_list.html
index f4ba699..22554d6 100644 (file)
@@ -1,9 +1,9 @@
 {% extends "base/base.html" %}
 {% load i18n %}
-{% load catalogue_tags switch_tag social_tags %}
-{% load ssi_include from ssify %}
+{% load catalogue_tags social_tags %}
+
+{% block titleextra %}{% if tags %}{% title_from_tags tags %}{% elif list_type == 'gallery' %}{% trans "Art" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %}{% endif %}{% endblock %}
 
-{% block titleextra %}{% if tags %}{% title_from_tags tags %}{% elif list_type == 'gallery' %}{% trans "Gallery" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %}{% endif %}{% endblock %}
 
 {% block bodyid %}tagged-object-list{% endblock %}
 
     {% endif %}
   </div>
 
-  {% comment %}
-  {% if list_type == 'books' and not tags %}
-    <section>
-      <h1>{% trans "Recent publications" %}</h1>
-      {% for book in last_published %}
-        {% ssi_include 'catalogue_book_mini' pk=book.pk %}
-      {% endfor %}
-      <a class="more" href="{% url 'recent_list' %}">{% trans "More recent publications" %}</a>
-    </section>
-    <section>
-      <h1>{% trans "Most popular books" %}</h1>
-      {% for book in most_popular %}
-        {% ssi_include 'catalogue_book_mini' pk=book.pk %}
-      {% endfor %}
-    </section>
-  {% endif %}
-  {% endcomment %}
-
   {% if theme_is_set %}
     {% work_list object_list %}
   {% else %}