]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/news/inline.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb_templates / templates / news / inline.html
diff --git a/panikweb_templates/templates/news/inline.html b/panikweb_templates/templates/news/inline.html
deleted file mode 100644 (file)
index a7eb8ed..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-{% load thumbnail staticfiles %}
-<div class="content content-inline {% if class != "special" %}inline{% endif %} cf {{ class }}">
-       <a class="block cf" href="{% url 'newsitem-view' slug=content.slug %}">
-               {% if class == "special" and content.category %}
-                       <div class="label labels absolute">
-                               <span class="item inBlock">{{ content.category.title }}</span>
-                       </div>
-               {% endif %}
-
-               <div class="logo">
-               {% if class == "special" and content.image %}
-                       {% thumbnail content.image "480x320" crop="50% 25%" as im %}
-                       <img alt="" class="normal" src="{{im.url}}"/>
-                       {% endthumbnail %}
-               {% elif content.image %}
-                       {% thumbnail content.image "60x60" crop="50% 25%" as im %}
-                       <img alt="" class="left" width="60" height="60" src="{{im.url}}"/>
-                       {% endthumbnail %}
-               {% elif content.emission.image %}
-                       {% thumbnail content.emission.image "60x60" crop="50% 25%" as im %}
-                       <img alt="" class="left" width="60" height="60" src="{{im.url}}"/>
-                       {% endthumbnail %}
-               {% else %}
-                       <img alt="" class="left" width="60" height="60" src="{% static "img/actu.png" %}"/>
-               {% endif %}
-               </div>
-               <div class="content">
-                       <h5 class="title">{{ content.title }}</h5>
-                       {% if class == "special" %}
-                       <div class="description">
-                               {{ content.text|safe|striptags|truncatewords:75}}
-                       </div>
-                       {% endif %}
-               </div>
-               {% if content.date %}
-                       <div class="smooth">PubliĆ©e le {{ content.date|date:"d/m/Y" }}</div>
-               {% endif %}
-
-       </a>
-</div>