Added indexed lists and link edition in tunes
This commit is contained in:
16
folkugat_web/assets/templates/fragments/tema/link_icon.html
Normal file
16
folkugat_web/assets/templates/fragments/tema/link_icon.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div id="link-icon-{{ link.id }}"
|
||||
class="p-2 m-2 text-beige border border-beige rounded-md">
|
||||
<a href="{{ link.url }}" target="_blank">
|
||||
{% if link.link_type == LinkType.SPOTIFY %}
|
||||
{% include "icons/spotify.svg" %}
|
||||
{% elif link.link_type == LinkType.YOUTUBE %}
|
||||
{% include "icons/youtube.svg" %}
|
||||
{% elif link.link_type == LinkType.PDF %}
|
||||
{% include "icons/pdf.svg" %}
|
||||
{% elif link.content_type == ContentType.AUDIO %}
|
||||
{% include "icons/notes.svg" %}
|
||||
{% else %}
|
||||
{% include "icons/link.svg" %}
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user