[templates] Clean up redundent templates and fix main menu

This commit is contained in:
2024-09-09 16:58:33 -04:00
parent 0df3dd728d
commit 8d6707db95
12 changed files with 206 additions and 70 deletions

View File

@ -16,26 +16,7 @@
<div class="col-md">
<div class="table-responsive">
<table class="table table-striped table-sm">
<thead>
<tr>
<th scope="col">Title</th>
<th scope="col">Scrobbles</th>
<th scope="col">Start</th>
</tr>
</thead>
<tbody>
{% for mood in object_list %}
<tr>
<td><a href="{{mood.get_absolute_url}}">{{mood}}</a></td>
{% if request.user.is_authenticated %}
<td>{{mood.scrobble_count}}</td>
<td><a type="button" class="btn btn-sm btn-primary" href="{{mood.get_start_url}}">Scrobble</a></td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% include "_scrobblable_list.html" %}
</div>
</div>
</div>