Commit e3e50e42 authored by Simon Daron's avatar Simon Daron
Browse files

Emission conditionnal controls

parent be84fc46
......@@ -334,7 +334,6 @@ button.tag {
}
.emission-inline .link {
display:block;
padding-right: 50px;
}
.emission-inline .archived *{
color:#aaa;
......
......@@ -7,10 +7,12 @@
<span class="year">0000</span>
</div>
{% endif %}
{% if controls %}
<div class="controls todo">
<button class="control symbol play">A</button>
<button class="control symbol add">B</button>
</div>
{% endif %}
<a class="link" href="{% url 'emission-view' slug=emission.slug %}">
<h5 class="title ellipsis">{{ emission.title }}</h5>
......
......@@ -11,7 +11,7 @@
<a class="link" href="{% url 'emission-view' slug=content.slug %}">
{% if content.image %}
<img class="right" width="50" height="50" src="{{ content.image|thumbnail:'50x50' }}"/>
<img class="right" width="30" height="30" src="{{ content.image|thumbnail:'30x30' }}"/>
{% endif %}
<h5 class="title ellipsis">{{ content.title }}</h5>
{% if content.description %}
......
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