{% extends "base.html" %} {% block title %}Mantenedor — Cantina{% endblock %} {% block content %}

Mantenedor

🗳 Votación ⏏ Cuenta Spotify Cerrar sesión
{% if error %}
{{ error }}
{% endif %} {% if success %}
{{ success }}
{% endif %}

Agregar elemento

Acepta cualquier URL de open.spotify.com, URI (spotify:track:…, spotify:album:…, etc.) o ID de 22 caracteres (se asume playlist).

Elementos configurados ({{ playlists | length }})

{% if playlists %} {% for pl in playlists %} {% set type_info = type_labels.get(pl.spotify_type, ('🎵', pl.spotify_type)) %} {% endfor %}
Nombre Tipo Descripción Acciones
{% if pl.emoji %}
{{ pl.emoji }}
{% elif pl.image_url %} {% else %}
{{ type_info[0] }}
{% endif %}
{{ pl.name }} {{ type_info[0] }} {{ type_info[1] }} {{ pl.description[:80] }}{% if pl.description | length > 80 %}…{% endif %}
{% else %}

No hay elementos configurados todavía.

{% endif %}
{% include "admin/_system_buttons.html" %}
{% endblock %}