Commit 2ecf5fe6 authored by fred's avatar fred

add references to emission/episode in audio inserts

parent a6dac3fc
......@@ -1504,8 +1504,21 @@ h3.episode-subtitle {
#fiber-content div.extra-soundfiles strong {
text-transform: uppercase;
}
.nonstop-track-title, .nonstop-track-artist {
font-size: 80%;
}
.soundfile-info {
padding-right: 75px;
}
#fiber-content div.extra-soundfiles .soundfile-info strong {
padding-right: 0;
}
#fiber-content div.extra-soundfiles .soundfile-info a {
text-decoration: none;
}
{% load paniktags %}
<div class="wrapper extra-soundfiles">
<ul class="padded custom list">
<li><strong>{{ soundfile.title }}</strong> {% audio sound=soundfile %}</li>
<li>
<div class="soundfile-info"><strong>
<a href="{% url 'emission-view' slug=soundfile.episode.emission.slug%}">{{ soundfile.episode.emission.title }}</a> -
<a href="{% url 'episode-view' emission_slug=soundfile.episode.emission.slug slug=soundfile.episode.slug %}">{{ soundfile.episode.title }}</a></strong>
{% if soundfile.fragment %}<span> - {{ soundfile.title }}</span>{% endif %}
</div>
{% audio sound=soundfile %}</li>
</ul>
</div>
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