Commit 01b2c095 authored by fred's avatar fred

include episode/emission logo next to waveform in content pages

parent 69d5fd2d
......@@ -1526,3 +1526,13 @@ h3.episode-subtitle {
#fiber-content div.extra-soundfiles {
margin: 1em 0;
}
div.extra-soundfiles div.logo {
display: inline-block;
}
div.extra-soundfiles ul.list {
display: inline-block;
width: 88%;
width: calc(100% - 70px);
}
{% load paniktags %}
{% load paniktags thumbnails staticfiles %}
<div class="wrapper extra-soundfiles">
<div class="logo">
{% if soundfile.episode.image %}
<img src="{{ soundfile.episode.image|thumbnail:'60x60' }}"/>
{% elif soundfile.episode.emission.image %}
<img src="{{ soundfile.episode.emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% endif %}
</div>
<ul class="padded custom list">
<li>
<div class="soundfile-info"><strong>
......
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