From 23607b1267a8e750bd43d8fbd2cfbf7a1a6740ff Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 6 Jan 2024 17:36:42 +0000 Subject: [PATCH] lists: Refactor list listing Signed-off-by: Michael Tremer --- src/templates/lists/index.html | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/src/templates/lists/index.html b/src/templates/lists/index.html index 5be27f8e..3d8adee2 100644 --- a/src/templates/lists/index.html +++ b/src/templates/lists/index.html @@ -26,17 +26,30 @@
- + {# Show if subscribed #} + {% if list in subscribed_lists %} + + {{ _("Subscribed") }} + + {% else %} + + {{ _("Not Subscribed") }} + + {% end %} + + + {% if list.description %} +
{{ list.description }}
+ {% end %} +
+ + {% end %}
{% end block %} -- 2.47.3