Some checks failed
build / test (push) Has been cancelled
This should make scrobbling sports more like tasks. The root scrobbled items are a little more generic, but it's easier to see viewing patterns.
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
{% extends "base_detail.html" %}
|
|
|
|
{% block title %}{{object}}{% endblock %}
|
|
|
|
{% block details %}
|
|
<h2>{{object.subtitle}}</h2>
|
|
|
|
<div class="row">
|
|
<h2>{{object.tv_series}}</h2>
|
|
<div class="col-md">
|
|
<h3>Last scrobbles</h3>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Date</th>
|
|
<th scope="col">Season</th>
|
|
<th scope="col">League</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for scrobble in scrobbles.all %}
|
|
<tr>
|
|
<td><a href={{scrobble.get_absolute_url}}>{{scrobble.local_timestamp}}</a></td>
|
|
<td>{{scrobble.media_obj.round.season.name}}</td>
|
|
<td>{{scrobble.media_obj.round.season.league}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|