From: Michael Tremer Date: Sat, 6 Jan 2024 17:36:42 +0000 (+0000) Subject: lists: Refactor list listing X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23607b1267a8e750bd43d8fbd2cfbf7a1a6740ff;p=ipfire.org.git lists: Refactor list listing Signed-off-by: Michael Tremer --- 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 %}