]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/combo/topik_menu_item.html
templates: restore topik_menu_item.html
[panikweb.git] / panikweb_templates / templates / combo / topik_menu_item.html
diff --git a/panikweb_templates/templates/combo/topik_menu_item.html b/panikweb_templates/templates/combo/topik_menu_item.html
new file mode 100644 (file)
index 0000000..55a7028
--- /dev/null
@@ -0,0 +1,24 @@
+{% load combo paniktags thumbnail %}
+<li class="item">
+  <div class="topik inline cf">
+    <a class="block cf topik-link" href="{{page.get_online_url}}">
+    <div class="logo">
+        {% 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 %}
+    </div>
+    <div class="content">
+      <div class="title">
+        <h5 class="title">{{page.title}}</h5>
+      </div>
+      <div class="smooth metas">
+        <span class="categories">{{category}}</span>
+      </div>
+    </div>
+    </a>
+  </div>
+</li>