]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/combo/topik_menu_item.html
da12f74a68a891cf4300ffd7065df0097c8c491e
[panikweb.git] / panikweb_templates / templates / combo / topik_menu_item.html
1 {% load combo paniktags thumbnail %}
2 <li class="item">
3   <div class="topik inline cf">
4     <div class="logo">
5       {% with page|image_file as logo %}
6         {% if logo %}
7           {% thumbnail logo "60x60" crop="50% 25%" as im %}
8           <img width="60" height="60" src="{{im.url}}"/>
9           {% endthumbnail %}
10         {% else %}
11           <img src="/static/img/sound.png" width="60" height="60">
12         {% endif %}
13       {% endwith %}
14     </div>
15     <div class="content">
16       <div class="title">
17         <h5 class="title"><a href="{{page.get_online_url}}">{{page.title}}</a></h5>
18       </div>
19       <div class="smooth metas">
20         <span class="categories">{{category}}</span>
21       </div>
22     </div>
23   </div>
24 </li>