Afegir partitures de llistes (cançoners)

This commit is contained in:
marc
2025-12-21 15:40:11 +01:00
parent 089e61fb0b
commit ac79785cf0
16 changed files with 238 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
<div id="llista-name">
{% include "fragments/playlist/name.html" %}
</div>
{% include "fragments/playlist/score.html" %}
<div class="text-left">
{% set playlist_id = playlist.id %}
{% set playlist = playlist %}

View File

@@ -0,0 +1,9 @@
{% if playlist.playlist_score is not none and playlist.playlist_score.pdf_url is not none %}
<div class="flex flex-col items-center mt-4 mb-6">
<div class="bg-beige border rounded border-beige m-2 p-2">
<a href="{{ playlist.playlist_score.pdf_url }}" target="_blank" class="text-white">
Obre en PDF
</a>
</div>
</div>
{% endif %}