more api changes, preparing for Android app
[wolnelektury.git] / apps / catalogue / templatetags / catalogue_tags.py
index ac783c0..c931e48 100644 (file)
@@ -260,7 +260,7 @@ def tag_list(tags, choices=None):
 
 
 @register.inclusion_tag('catalogue/folded_tag_list.html')
-def folded_tag_list(tags, choices=None):
+def folded_tag_list(tags, title='', choices=None):
     tags = [tag for tag in tags if tag.count]
     if choices is None:
         choices = []
@@ -275,3 +275,7 @@ def folded_tag_list(tags, choices=None):
             some_tags_hidden = True
     return locals()
 
+
+@register.inclusion_tag('catalogue/book_info.html')
+def book_info(book):
+    return locals()