Commit 545644ec authored by fred's avatar fred
Browse files

use emission image as fallback for newsitems (#1151)

parent 89175914
......@@ -12,6 +12,8 @@
<img class="normal" src="{{ content.image|thumbnail:'480x320' }}"/>
{% elif content.image %}
<img class="left" width="60" height="60" src="{{ content.image|thumbnail:'60x60' }}"/>
{% elif content.emission.image %}
<img class="left" width="60" height="60" src="{{ content.emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="left" width="60" height="60" src="{% static "img/actu.png" %}"/>
{% endif %}
......
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