Commit 7343d670 authored by fred's avatar fred

use same image for emissions and episodes

parent 925726f6
......@@ -8,7 +8,7 @@
{% elif episode.emission.image %}
<img src="{{ episode.emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="smooth" style="width:60px;" src="{% static "img/episode.png" %}"/>
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% endif %}
</div>
<div class="content">
......
......@@ -29,13 +29,13 @@
{% elif model = "inline" and episode.emission.image %}
<img src="{{ episode.emission.image|thumbnail:'60x60' }}"/>
{% elif model = "inline" %}
<img class="smooth" style="width:60px;" src="{% static "img/episode.png" %}"/>
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% elif episode.image %}
<img src="{{ episode.image|thumbnail:'150x150' }}"/>
{% elif episode.emission.image %}
<img src="{{ episode.emission.image|thumbnail:'150x150' }}"/>
{% else %}
<img class="smooth" style="width:150px;" src="{% static "img/episode.png" %}"/>
<img class="smooth" style="width:150px;" src="{% static "img/emission.png" %}"/>
{% endif %}
</a>
</div>
......
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