{% load paniktags %}
{% load staticfiles %}
<div class="episode inline cf">
- <div class="dateBloc">
- <div class="date">
- <div class="day">{{ date|date:"D"|slice:":2"}}</div>
- <div class="number">{{ date|date:"d" }}</div>
- <div class="month">{{ date|date:"M y" }}</div>
- </div>
- </div>
<div class="logo">
{% if soundfile.episode.image %}
- <img src="{{ soundfile.episode.image|thumbnail:'60x60' }}"/>
+ <img src="{{ soundfile.episode.image|thumbnail:'50x50' }}"/>
{% elif episode.emission.image %}
- <img src="{{ soundfile.episode.emission.image|thumbnail:'60x60' }}"/>
+ <img src="{{ soundfile.episode.emission.image|thumbnail:'50x50' }}"/>
{% else %}
- <img class="smooth" style="width:60px;" src="{% static "img/defaultLogo.png" %}"/>
+ <img class="smooth" style="width:50px;" src="{% static "img/defaultLogo.png" %}"/>
{% endif %}
+ <p class="date">
+ {{date|date:"d M"}}<br/>
+ {{date|date:"y"}}
+ </p>
+
</div>
<div class="content">
<div class="sound right">{% audio sound=soundfile %}</div>
<div class="title ellipsis">
+ {% if soundfile.fragment %}
+ <h5 class="title ellipsis">
+ {{ soundfile.title }}
+ </h5>
+ {% endif %}
<h5 class=" inBlock title {% if model = "inline" %}ellipsis{% endif %}">
<a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a>
</h5>