[templates] Clean up redundent templates and fix main menu
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user