[podcasts] Add domain link
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user