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