Commit 175352c4 authored by Simon Daron's avatar Simon Daron
Browse files

Images for defaut emission/episodes

parent e904635f
......@@ -7,7 +7,7 @@
{% if emission.image %}
<img src="{{ emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="smooth" style="width:60px;" src="{% static "img/defaultLogo.png" %}"/>
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% endif %}
</div>
<div class="title ellipsis">
......
......@@ -5,10 +5,8 @@
<div class="logo">
{% if episode.image %}
<img src="{{ episode.image|thumbnail:'60x60' }}"/>
{% elif episode.emission.image %}
<img src="{{ episode.emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="smooth" style="width:60px;" src="{% static "img/defaultLogo.png" %}"/>
<img class="smooth" style="width:60px;" src="{% static "img/episode.png" %}"/>
{% endif %}
</div>
<div class="content">
......
......@@ -25,16 +25,12 @@
<div class="logo">
{% if model = "inline" and episode.image %}
<img src="{{ episode.image|thumbnail:'60x60' }}"/>
{% 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/defaultLogo.png" %}"/>
<img class="smooth" style="width:60px;" src="{% static "img/episode.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/defaultLogo.png" %}"/>
<img class="smooth" style="width:150px;" src="{% static "img/episode.png" %}"/>
{% endif %}
</div>
<div class="content">
......
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