book page fix
[wolnelektury.git] / src / catalogue / templates / catalogue / collection.html
old mode 100755 (executable)
new mode 100644 (file)
index 4bb12c9..7a08ab6
@@ -1,10 +1,15 @@
-{% extends "catalogue/book_list.html" %}
+{% extends "base/base.html" %}
 {% load i18n %}
+{% load catalogue_tags %}
 
-{% block titleextra %}{{ context.collection.title }}{% endblock %}
+{% block titleextra %}{{ collection.title }}{% endblock %}
 
-{% block book_list_header %}{{ context.collection.title }}{% endblock %}
+{% block bodyid %}collection{% endblock %}
 
-{% block book_list_info %}
-{{ context.collection.description|safe }}
+{% block body %}
+  <h1>{{ collection.title }}</h1>
+
+  {{ collection.description|safe }}
+
+  {% plain_list collection.get_books by_author=True %}
 {% endblock %}