add attachment to cojaczytam form
[wolnelektury.git] / src / catalogue / templates / catalogue / book_text.html
index 5a6db11..e958d70 100644 (file)
@@ -11,8 +11,8 @@
 {% block menu %}
   <li>
     <a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
-      <img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '80x111' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
-           width="80" height="111"
+      <img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
+           width="120" height="166"
            alt="{{ book.pretty_title }}"
            title="{{ book.pretty_title }}">
     </a>
@@ -60,7 +60,7 @@
 
 {% block big-pane %}
   <article id="main-text">
-    <!--#include file='{{ book.html_file.url }}'-->
+    <!--#include file='{{ book.html_url }}'-->
   </article>
 
   <article id="other-text">
@@ -85,7 +85,7 @@
           {% for other_version in book.other_versions %}
             <li>
               <a class="display-other"
-                 data-other="{{ other_version.html_file.url }}"
+                 data-other="{{ other_version.html_url }}"
                  href="{% url 'book_text' other_version.slug %}">
                 {% cache 86400 book_mini_box other_version.pk %}
                   {% include 'catalogue/book_mini_box.html' with book=other_version no_link=True %}
   </div>
 
   <div class="box" id="book-short">
-    {% ssi_include 'catalogue_book_short' pk=book.pk %}
+    {% include 'catalogue/book_short.html' %}
   </div>
 {% endblock footer %}