templates: mark automatic episode selection with additional css classes
authorFrédéric Péters <fpeters@0d.be>
Thu, 12 Mar 2020 11:49:15 +0000 (12:49 +0100)
committerFrédéric Péters <fpeters@0d.be>
Thu, 12 Mar 2020 11:49:15 +0000 (12:49 +0100)
panikweb_templates/templates/panikombo/episode_auto_selection.html

index 0ce2022..fa6dc8d 100644 (file)
@@ -19,8 +19,9 @@
 <ul class="padded custom list">
 <li>
   <div class="soundfile-info"><strong>
-    <a href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a> -
-    <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a></strong>
+    <a class="emission-title" href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a>
+    <span class="sep">-</span>
+    <a class="episode-title" href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a></strong>
   </div>
   {% for diffusion in episode.diffusions %}
   <span class="date">→ {{ diffusion.datetime|date:"l d M Y à H:i" }}</span>