[podcasts] Add domain link
All checks were successful
build & deploy / test (push) Successful in 1m41s
build & deploy / deploy (push) Successful in 20s

This commit is contained in:
2026-03-18 11:36:13 -04:00
parent 8e8d25aa1d
commit 349b10904a

View File

@ -9,6 +9,9 @@
{% if podcast_list or object_list.0.podcast %}
<th scope="col">Podcast</th>
{% endif %}
{% if object_list.0.domain %}
<th scope="col">Domain</th>
{% endif %}
<th scope="col">Scrobbles</th>
<th scope="col">Start</th>
</tr>
@ -22,6 +25,9 @@
{% if podcast_list or obj.podcast %}
<td>{% if obj.podcast %}<a href="{{obj.podcast.get_absolute_url}}">{{obj.podcast}}</a>{% endif %}</td>
{% endif %}
{% if obj.domain %}
<td><a href="{{obj.domain.get_absolute_url}}">{{obj.domain}}</a></td>
{% endif %}
{% if request.user.is_authenticated %}
<td>{{obj.scrobble_count}}</td>
<td><a type="button" class="btn btn-sm btn-primary" href="{{obj.start_url}}">Scrobble</a></td>