Commit 7343d670 authored by fred's avatar fred

use same image for emissions and episodes

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