one of many positioning fixes
[wolnelektury.git] / src / picture / templates / picture / picture_viewer.html
index 75be359..fa9d039 100644 (file)
@@ -1,9 +1,8 @@
 {% extends "catalogue/viewer_base.html" %}
 {% load i18n %}
 {% extends "catalogue/viewer_base.html" %}
 {% load i18n %}
-{% load static from staticfiles %}
+{% load static from static %}
 {% load catalogue_tags %}
 {% load thumbnail %}
 {% load catalogue_tags %}
 {% load thumbnail %}
-{% load ssi_include from ssify %}
 
 
 {% block title %}{{ picture.pretty_title }}{% endblock %}
 
 
 {% block title %}{{ picture.pretty_title }}{% endblock %}
 
   <li>
     <a href="{{ picture.get_absolute_url }}" id="menu-book" data-box="book-short">
 
   <li>
     <a href="{{ picture.get_absolute_url }}" id="menu-book" data-box="book-short">
-      <img src="{% thumbnail picture.image_file '80x200' as thumb %}{{ thumb.url }}{% empty %}{{ picture.image_file.url }}{% endthumbnail %}"
-           width="80"
+      <img src="{% thumbnail picture.image_file '120x300' as thumb %}{{ thumb.url }}{% empty %}{{ picture.image_file.url }}{% endthumbnail %}"
+           width="120"
            alt="{{ picture.pretty_title }}"
            title="{{ picture.pretty_title }}">
     </a>
   </li>
 
            alt="{{ picture.pretty_title }}"
            title="{{ picture.pretty_title }}">
     </a>
   </li>
 
-  <li><a href="#picture-objects" class="dropdown"><span class="label">{% trans "Objects" %}</span></a></li>
-  <li><a href="#picture-themes" class="dropdown"><span class="label">{% trans "Themes" %}</span></a></li>
+  <li><a href="#picture-objects" class="dropdown"><span class="label">{% trans "Obiekty" context "na obrazie" %}</span></a></li>
+  <li><a href="#picture-themes" class="dropdown"><span class="label">{% trans "Motywy" %}</span></a></li>
 
   <li id="menu-info">
     <a href="#info" data-box="info">
 
   <li id="menu-info">
     <a href="#info" data-box="info">
-      <span class="label">{% trans "Infobox" %}</span>
+      <span class="label">{% trans "Informacja" %}</span>
     </a>
   </li>
 
   <li id="sponsors">
     {% for sponsor in sponsors %}
     </a>
   </li>
 
   <li id="sponsors">
     {% for sponsor in sponsors %}
-      {% thumbnail sponsor.logo "80x200" as logo %}
+      {% thumbnail sponsor.logo "120x300" as logo %}
         <a href="{{ sponsor.url }}" target="_blank"><img src="{{ logo.url }}" alt="{{ sponsor.name }}" /></a>
       {% endthumbnail %}
     {% endfor %}
         <a href="{{ sponsor.url }}" target="_blank"><img src="{{ logo.url }}" alt="{{ sponsor.name }}" /></a>
       {% endthumbnail %}
     {% endfor %}
@@ -81,7 +80,7 @@
 
 
 {% block footer %}
 
 
 {% block footer %}
-  {{ picture.html_file.read|safe }}
+  {{ picture.html_file.read.decode|safe }}
 
   <div id="info" class="box">
     <div class="sponsors">
 
   <div id="info" class="box">
     <div class="sponsors">
@@ -99,6 +98,6 @@
   </div>
 
   <div class="box Picture-item" id="book-short">
   </div>
 
   <div class="box Picture-item" id="book-short">
-    {% ssi_include 'picture_short' pk=picture.pk %}
+    {% include 'picture/picture_short.html' %}
   </div>
 {% endblock %}
   </div>
 {% endblock %}