fixes
[wolnelektury.git] / src / catalogue / templates / catalogue / book_searched.html
index 23d4736..e257467 100644 (file)
@@ -1,11 +1,8 @@
-{% spaceless %}
-  {% load i18n %}
-  {% load inline_tag_list from catalogue_tags %}
-  {% load ssi_include from ssify %}
-
-  <div class="search-result">
-    {% ssi_include 'catalogue_book_short' pk=book.pk %}
+{% extends "catalogue/book_short.html" %}
+{% load inline_tag_list from catalogue_tags %}
 
+{% block right-column %}
+  <div class="book-right-column">
     <div class="snippets">
       {% for hit in hits %}
         {% if hit.snippet %}
               {% if hit.snippet %}
                 {{hit.snippet|safe}}
               {% else %}
-                {{hit.fragment.text|truncatewords_html:15|safe}} {# bad, now impossible #}
+                {{hit.fragment.text|truncatewords_html:15|safe}}
               {% endif %}
             </a>
           </div>
         {% endif %}
       {% endfor %}
     </div>
-
-    <div style="clear: right"></div>
+    {% include 'catalogue/snippets/jplayer.html' %}
   </div>
-{% endspaceless %}
\ No newline at end of file
+{% endblock %}