Commit 821bbcc8 authored by Simon Daron's avatar Simon Daron

Add some description in program

parent 4f18312d
......@@ -452,13 +452,11 @@ body{
}
@media (min-width: 800px) {
.list.news a{
}
.list.news .logo{
max-width:50% !important;
}
.list.news .special .logo{
max-width:100% !important;
max-width:98% !important;
}
.list.news .num-1{
max-width:50%;
......
......@@ -16,15 +16,23 @@
<ul class="custom emission-list list">
{% if day.cells %}
{% for cell in day.cells %}
<li>
<strong>{{ cell.datetime|date:"H:i" }}</strong>
<li class="ellipsis" >
<strong>{{ cell.datetime|date:"H:i" }}</strong>&nbsp;-&nbsp;
{% if cell.episode %}
<a href="{% url 'episode-view' emission_slug=cell.episode.emission.slug slug=cell.episode.slug %}">
{{ cell.episode.emission.title }} - {{ cell.episode.title }}
<span>{{ cell.episode.emission.title }}&nbsp;-&nbsp;{{ cell.episode.title }}</span>
{% if cell.episode.description %}
|<span class="smooth">&nbsp;-&nbsp;{{ cell.episode.description|safe|striptags|truncatewords:50 }}</span>
{% elif cell.episode.emission.description %}
|<span class="smooth">&nbsp;-&nbsp;{{ cell.episode.emission.description|safe|striptags|truncatewords:50 }}</span>
{% endif %}
</a>
{% elif cell.emission %}
<a href="{% url 'emission-view' slug=cell.emission.slug %}">
{{ cell.emission.title }}
<span>{{ cell.emission.title }}</span>
{% if cell.emission.description %}
<span class="smooth">&nbsp;-&nbsp;{{ cell.emission.description|safe|striptags|truncatewords:50 }}</span>
{% endif %}
</a>
{% endif %}
</li>
......
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