Fixes #3211, fixes #3211: related books and pictures bars.
[wolnelektury.git] / apps / picture / templates / picture / picture_wide.html
index 46e37c9..e2fab8c 100644 (file)
@@ -1,14 +1,14 @@
 {% extends "picture/picture_short.html" %}
 {% load i18n %}
 {% load picture_tags thumbnail %}
-{% load cite_promo from social_tags %}
 
 
 {% block box-class %}book-wide-box{% endblock %}
 
 {% block picture-view %}
-{% thumbnail picture.image_file "535" upscale="false" as thumb %}
-<img class="cover" src="{{thumb.url}}"/>
+<a href="{{ main_link }}">
+{% thumbnail picture.image_file "535" upscale=0 as thumb %}
+<img class="cover" src="{{thumb.url}}"/></a>
 {% endthumbnail %}
 {% endblock %}
 
 {% block book-box-extra-info %}
 {% if themes or things%}
     <div class="hidden-box-wrapper" id="theme-list-wrapper">
-        <p><a class="mono hidden-box-trigger theme-list-link"
+        <p><a class="hidden-box-trigger theme-list-link"
                 href="#">{% trans "Motifs, themes and objects" %}</a></p>
         <div class="hidden-box">
          {% if themes %}
          <p>{% trans "Motifs and themes" %}</p>
           <ul>
             {% for theme in themes %}
-            <li><a href="{% url 'picture_viewer' picture.slug %}#theme-{{theme.slug}}">{{ theme }}{# ({{ theme.picture_count }})#}</a></li>
+            <li><a href="{% url 'picture_viewer' picture.slug %}#theme-{{theme.slug}}">{{ theme }}</a></li>
                {% endfor %}
             </ul>
            {% endif %}
@@ -31,7 +31,7 @@
          <p>{% trans "Objects" %}</p>
           <ul>
             {% for thing in things %}
-            <li><a href="{% url 'picture_viewer' picture.slug %}#object-{{thing.slug}}">{{ thing }}{# ({{ thing.picture_count }})#}</a></li>
+            <li><a href="{% url 'picture_viewer' picture.slug %}#object-{{thing.slug}}">{{ thing }}</a></li>
             {% endfor %}
           </ul>
          {% endif %}
@@ -55,9 +55,6 @@
       {% if extra_info.about and not hide_about %}
       <li>{% trans "Picture on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a></li>
       {% endif %}
-      {% if picture.culturepl_link %}
-      <li><a href="{{ picture.culturepl_link }}">{% trans "Picture description on Lektury.Gazeta.pl" %}</a></li>
-      {% endif %}
       {% if picture.wiki_link %}
       <li><a href="{{ picture.wiki_link }}">{% trans "Picture description on Wikipedia" %}</a></li>
       {% endif %}