From 24af1f1ec20e3170a1e8aa439a1539fc2e7ab069 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Mon, 24 Jun 2024 16:52:59 +0200 Subject: [PATCH] =?UTF-8?q?el=20listado=20de=20albums=20desde=20la=20lista?= =?UTF-8?q?=20de=20canciones=20se=20mete=20en=20tabla=20tambi=C3=A9n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../servicios/lyrics/templates/album.html | 25 +++++++++++++++++++ LyricsPy/servicios/lyrics/templates/base.html | 13 +++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/LyricsPy/servicios/lyrics/templates/album.html b/LyricsPy/servicios/lyrics/templates/album.html index 7345118..c49d353 100644 --- a/LyricsPy/servicios/lyrics/templates/album.html +++ b/LyricsPy/servicios/lyrics/templates/album.html @@ -6,6 +6,7 @@

Año: {{ album.year }}

Canciones en este álbum

+ +{% if songs %} + + + + + + + + + + {% for song in songs %} + + + + + + {% endfor %} + +
TitleAuthorAlbum
{{ song.title }}{{ song.author }}{{ song.album.name }}
+{% else %} +

No songs found matching your query.

+{% endif %} + Volver al inicio {% endblock %} diff --git a/LyricsPy/servicios/lyrics/templates/base.html b/LyricsPy/servicios/lyrics/templates/base.html index 7c9f8db..fefb23b 100644 --- a/LyricsPy/servicios/lyrics/templates/base.html +++ b/LyricsPy/servicios/lyrics/templates/base.html @@ -29,10 +29,21 @@ + +