Canvi de nom a les URLs playlist -> llista

This commit is contained in:
marc
2025-12-20 23:48:54 +01:00
parent 56ab91bd42
commit 089e61fb0b
13 changed files with 72 additions and 72 deletions

View File

@@ -1,4 +1,4 @@
<ul id="playlist-{{ playlist_id }}" class="">
<ul id="llista-{{ playlist_id }}" class="">
{% for set_entry in playlist.sets %}
{% set set_id = set_entry.id %}
{% include "fragments/playlist/set_entry.html" %}
@@ -7,8 +7,8 @@
{% if logged_in %}
<div class="flex flex-col items-center">
<button class="text-beige mt-2"
hx-post="/api/playlist/{{ playlist_id }}/set"
hx-target="#playlist-{{ playlist_id }}"
hx-post="/api/llista/{{ playlist_id }}/set"
hx-target="#llista-{{ playlist_id }}"
hx-swap="beforeend transition:true">
<i class="fa fa-plus" aria-hidden="true"></i>
Afegeix set