Playlist display
This commit is contained in:
parent
2dd7b7c89d
commit
905e5c2b5e
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
||||||
<p>{{object.description|linebreaksbr}}</p>
|
<p>{{object.description|linebreaksbr}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-3 offset-md-1 meta">
|
<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>
|
<div class="tags"><span class="meta-heading">Tags</span>
|
||||||
{% for tag in object.tags %}
|
{% for tag in object.tags %}
|
||||||
<a href="#">{{tag}}</a>
|
<a href="#">{{tag}}</a>
|
||||||
|
|
Loading…
Reference in a new issue