beautified, bugs fixed

This commit is contained in:
Terry Geng
2020-02-06 10:11:48 +08:00
parent 4e905c1c56
commit 9f7a9287a2
4 changed files with 38 additions and 28 deletions

View File

@ -20,8 +20,8 @@
<div class="playlist-artwork">
{% if 'title' in m and m['title'].strip() %}
<b>{{ m['title'] }}</b>
{% else %}
<b>{{ m['url'] }}</b>
{% elif 'url' in m %}
<b>{{ m['url']|truncate(30) }}</b>
{% endif %}
<span class="badge badge-secondary">{{ m['type'].capitalize() }}</span>
<br>