From 8f1564185a62d8f7ae220c5a803a77445f15ab7f Mon Sep 17 00:00:00 2001 From: imperosol Date: Sat, 25 Jan 2025 23:32:55 +0100 Subject: [PATCH] remove alpine instructions for moderated news --- com/templates/com/news_list.jinja | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/com/templates/com/news_list.jinja b/com/templates/com/news_list.jinja index 80b07176..ebb4f6e1 100644 --- a/com/templates/com/news_list.jinja +++ b/com/templates/com/news_list.jinja @@ -48,13 +48,22 @@
{% for date in dates_group %} -
+
{% if not date.news.is_moderated %} {# if a non moderated news is in the object list, the logged user is either an admin or the news author #} {{ news_moderation_alert(date.news, user, "newsState") }} {% endif %} -
+
{% if date.news.club.logo %} {{ date.news.club }}