Commit 586ce67e authored by Simon Daron's avatar Simon Daron
Browse files

News thumnail_S_ debuggued

parent 05c06e5b
{% load thumbnails %}
<!--
<li>{{ episode.first_diffusion|date:"d E o H:i"|lower }}
<br/>   <a href="{{ episode.slug }}/">{{ episode.title }}</a>
{% if episode.has_sound %}<span class="icon-music"/>{%endif%}
</li>
-->
<div class="episode episode-inline inline cf">
<div class="date dateBloc left">
<span class="day">
......
{% load thumbnails %}
<div class="content content-inline inline cf">
<div class="">
{% if content.date %}
......@@ -10,9 +11,7 @@
<a class="link" href="{% url 'emission-view' slug=content.slug %}">
{% if content.image %}
<img width="50" height="50" src="{{ content.image|thumbnail:'50x50' }}"/>
{% else %}
<img src="http://placehold.it/50X50" />
<img class="right" width="50" height="50" src="{{ content.image|thumbnail:'50x50' }}"/>
{% endif %}
<h5 class="title ellipsis">{{ content.title }}</h5>
{% if content.description %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment