[templates] Clean up tables

This commit is contained in:
2024-10-02 17:50:18 -04:00
parent ddf2ca5630
commit 176b698f6e
4 changed files with 10 additions and 14 deletions

View File

@ -52,17 +52,12 @@
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Title</th>
<th scope="col">Distance</th>
</tr>
</thead>
<tbody>
{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %}
<tr>
<td>{{scrobble.timestamp}}</td>
<td>{{scrobble.logdata}}</td>
<td>{{scrobble.media_obj.publisher}}</td>
<td>{% if scrobble.screenshot%}<img src="{{scrobble.screenshot.url}}" width=250 />{% endif %}</td>
</tr>
{% endfor %}
</tbody>