Commit 0497e624 authored by fred's avatar fred

include a class marking if tracks were on air

parent 6433d60c
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<ul class="soma-list"> <ul class="soma-list">
{% for somalog in object_list %} {% for somalog in object_list %}
<li><span class="timestamp">{{ somalog.play_timestamp|date:"H:i" }}</span>: <li class="on-air-{{ somalog.on_air }}"><span class="timestamp">{{ somalog.play_timestamp|date:"H:i" }}</span>:
{% if somalog.filepath.track %} {% if somalog.filepath.track %}
<a href="{{ somalog.filepath.track.get_absolute_url }}" class="tracktitle">{{ somalog.filepath.track.title }}</a> <a href="{{ somalog.filepath.track.get_absolute_url }}" class="tracktitle">{{ somalog.filepath.track.title }}</a>
<span class="trackartist">(<a href="{{ somalog.filepath.track.artist.get_absolute_url }}" class="trackartist">{{ somalog.filepath.track.artist.name }}</a>)</span> <span class="trackartist">(<a href="{{ somalog.filepath.track.artist.get_absolute_url }}" class="trackartist">{{ somalog.filepath.track.artist.name }}</a>)</span>
......
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