inline.html 843 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
<div class="emission-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 %}
Simon Daron's avatar
Simon Daron committed
10
		<div class="controls todo">
11
12
13
14
15
			<button class="control symbols play">A</button>
			<button class="control symbols add">B</button>
		</div>
		<a class="link" href="{% url 'emission-view' slug=emission.slug %}">
		
16
			<h5 class="title ellipsis">{{ emission.title }}</h5>
17
			{% if emission.description %}
18
				<div class="description ellipsis">
19
20
21
					{{ emission.description|safe|striptags }}
				</div>
			{% elif emission.text %}
22
				<div class="description ellipsis">
23
24
					{{ emission.text|safe|striptags|truncatewords:20}}
				</div>
25
26
27
28
			{% endif %}
		</a>
	</div>
</div>