]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/combo/topik_menu_item.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / combo / topik_menu_item.html
index ff3b12bc5821dfa8230de16c6ddf32fd3328490f..55a70287d838d52eb7bb3e5df2b2421765d45b65 100644 (file)
@@ -3,19 +3,13 @@
   <div class="topik inline cf">
     <a class="block cf topik-link" href="{{page.get_online_url}}">
     <div class="logo">
-      {% with page|image_file as logo %}
-        {% if logo %}
-          {% thumbnail logo "60x60" crop="50% 25%" as im %}
-          <img alt="" width="60" height="60" src="{{im.url}}"/>
-          {% endthumbnail %}
-        {% elif page.picture %}
+        {% if page.picture %}
           {% thumbnail page.picture "60x60" crop="50% 25%" as im %}
           <img alt="" width="60" height="60" src="{{im.url}}"/>
           {% endthumbnail %}
         {% else %}
           <img alt="" src="/static/img/sound.png" width="60" height="60">
         {% endif %}
-      {% endwith %}
     </div>
     <div class="content">
       <div class="title">