Commit 50e3f366 authored by Simon Daron's avatar Simon Daron

Default logo for emissions

parent d0fc8aa2
......@@ -530,8 +530,8 @@ background-color:#ff6633; border-color:#fff;}
float:left;
margin-right:1em;
}
.emission .archived *{
color:#aaa;
.emission .archived {
opacity:0.6;
}
.emission. .link .description {
......
{% load thumbnails %}
{% load staticfiles %}
<div class="emission emission-inline inline">
<div class="{% if emission.archived %}archived{% endif %}">
<a class="block" href="{% url 'emission-view' slug=emission.slug %}">
<div class="logo left">
<div class="logo left">{{ STATIC_URL}}
{% if emission.image %}
<img width="50" height="50" src="{{ emission.image|thumbnail:'50x50' }}"/>
{% else %}
<img src="http://placehold.it/50x50">
<img width="50" height="50" src="{% static "img/defaultLogo.png" %}"/>
{% endif %}
</div>
{% if emission.categories %}
......
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