Commit 8884d9e4 authored by fred's avatar fred
Browse files

playlist: don't include empty lines

parent ac56a061
......@@ -18,11 +18,13 @@
<table class="playlist">
{% for track in tracks %}
{% if track.filepath.track.title %}
<tr>
<td class="tracktime">{{track.play_timestamp|date:'h:i'}}</td>
<td class="tracktitle">{{track.filepath.track.title }}</td>
<td class="trackartist">{{track.filepath.track.artist.name }}</td>
</tr>
{% endif %}
{% endfor %}
</table>
......
Supports Markdown
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