Commit 2565bdf0 authored by Simon Daron's avatar Simon Daron

Setting inline view for emission

parent 4e8110d6
......@@ -9,7 +9,7 @@
<div class="emissions padded">
<ul class="custom list columns padded">
{% for emission in emissions %}
<li>{% emission_resume %}</li>
<li>{% emission_inline %}</li>
{% endfor %}
</ul>
</div>
......
<div class="emission emission-inline inline">
<div class=" {% if emission.archived %}archived{% endif %}">
{% if emission.date %}
<div class="date cf">
<span class="day">XX</span>
<span class="day-number">00</span>
<span class="year">0000</span>
</div>
{% endif %}
{% if controls %}
<div class="controls todo">
<button class="control symbol play">A</button>
<button class="control symbol add">B</button>
</div>
{% endif %}
<a class="block" href="{% url 'emission-view' slug=emission.slug %}">
<div class="logo left">
{% if emission.image %}
<img width="50" height="50" src="{{ emission.image|thumbnail:'50x50' }}"/>
{% else %}
<img src="http://placehold.it/50x50">
{% endif %}
</div>
<h5 class="title ellipsis">{{ emission.title }}</h5>
{% if emission.description %}
<div class="description ellipsis">
......
{% load thumbnails %}
<div class="emission emission-resume resume">
<div class="{% if emission.archived %}archived{% endif %}">
{% if emission.date %}
<div class="date cf">
<span class="day">XX</span>
<span class="day-number">00</span>
<span class="year">0000</span>
</div>
{% endif %}
<a class="block" href="{% url 'emission-view' slug=emission.slug %}">
{% if emission.image %}
<div class="logo left">
{% if model = "inline" %}
<img width="50" height="50" src="{{ emissionimage|thumbnail:'50x50' }}"/>
{% if emission.image %}
<img width="50" height="50" src="{{ emission.image|thumbnail:'50x50' }}"/>
{% else %}
<img src="http://placehold.it/50x50">
<img src="http://placehold.it/50x50">
{% endif %}
</div>
{% endif %}
<h5 class="title ellipsis">{{ emission.title }}</h5>
{% if emission.description %}
<div class="description ellipsis">
......
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