mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
handle empty playlist nav
This commit is contained in:
parent
e450b38702
commit
62ba1ecf4a
@ -72,7 +72,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for playlist_item in playlist_nav %}
|
{% if playlist_nav %}
|
||||||
|
{% for playlist_item in playlist_nav %}
|
||||||
<div class="playlist-wrap">
|
<div class="playlist-wrap">
|
||||||
<a href="{% url 'playlist_id' playlist_item.playlist_meta.playlist_id %}">
|
<a href="{% url 'playlist_id' playlist_item.playlist_meta.playlist_id %}">
|
||||||
<h3>Playlist: {{ playlist_item.playlist_meta.playlist_name }}</h3>
|
<h3>Playlist: {{ playlist_item.playlist_meta.playlist_name }}</h3>
|
||||||
@ -106,5 +107,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
Loading…
Reference in New Issue
Block a user