Intelligent fragment folding and unfolding.
[wolnelektury.git] / templates / catalogue / tagged_book_list.html
index 68253af..83e530c 100644 (file)
@@ -7,6 +7,7 @@
 
 {% block extrahead %}
     <script type="text/javascript">
+    // <![CDATA[
         $(function() {            
             // $('#tags-list ul').addClass('dontsplit');
             // $('#tags-list').columnize({width: 180});
                     });
                 }});
         });
+    // ]]>
     </script>
 {% endblock %}
 
 {% block body %}
     <h1>{% title_from_tags tags %}</h1>
     {% breadcrumbs tags %}
-    {# <form action="." method="get" accept-charset="utf-8" id="search-form"> #}
-    {#     <ol> #}
-    {#         {% for tag in tags %} #}
-    {#         <li class="category"><a href="{% catalogue_url tag %}">{{ tag }}</a> | <a href="{% catalogue_url tags -tag %}">x</a></li> #}
-    {#         {% endfor %} #}
-    {#         <li>{{ form.q }} <input type="submit" value="Szukaj"/></li> #}
-    {#     </ol> #}
-    {# </form> #}
     
     {% autopaginate object_list 10 %}
     <div id="books-list">
@@ -76,7 +70,7 @@
         {% endwith %}
         <ol>
         {% for book in object_list %}
-            <li>{% include "catalogue/_book.html" %}</li>
+            <li>{{ book.short_html }}</li>
         {% endfor %}
         </ol>
         {% paginate %}