Playlist display

This commit is contained in:
Kumi 2022-05-05 18:32:41 +02:00
parent 2dd7b7c89d
commit 905e5c2b5e
Signed by: kumi
GPG key ID: 5D1CE6AF1805ECA2

View file

@ -15,6 +15,14 @@
<p>{{object.description|linebreaksbr}}</p>
</div>
<div class="col-12 col-md-3 offset-md-1 meta">
{% if object.playlist_set.all %}
<div class="tags"><span class="meta-heading">Part of Playlists</span>
{% for playlist in object.playlist_set.all %}
<a href="{{playlist.get_absolute_url}}">{{playlist.title}}</a>
{% endfor %}
</div>
<hr>
{% endif %}
<div class="tags"><span class="meta-heading">Tags</span>
{% for tag in object.tags %}
<a href="#">{{tag}}</a>