Afegir control visual de les lletres per a partitures

This commit is contained in:
marc
2026-01-05 10:19:25 +01:00
parent c0624d1e56
commit 4e7a6b18d6
10 changed files with 65 additions and 12 deletions

View File

@@ -1,6 +1,9 @@
<div id="tema-lyric-{{ lyric.id }}">
<h5 class="text-sm text-beige text-right">
{{ lyric.title }}
{% if logged_in and lyric.max_columns %}
<span class="text-xs ml-2">{{ lyric.max_columns }} columnes</span>
{% endif %}
{% if logged_in %}
<button title="Modifica la lletra"
class="mx-1"
@@ -20,6 +23,6 @@
</h5>
<hr class="h-px mt-1 mb-3 bg-beige border-0">
<div class="text-center">
{{ lyric.content.replace('\n', '<br>') | safe }}
{{ (lyric.content.replace('~', '')).replace('\n', '<br>') | safe }}
</div>
</div>