From 89979dbf6197c2b2343bd2855d0e89bf94f9d839 Mon Sep 17 00:00:00 2001 From: Skia Date: Sun, 3 Oct 2021 19:08:14 +0200 Subject: [PATCH] com: news list: fix UI for admins --- com/templates/com/news_list.jinja | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/com/templates/com/news_list.jinja b/com/templates/com/news_list.jinja index 8aee6459..dfc664e6 100644 --- a/com/templates/com/news_list.jinja +++ b/com/templates/com/news_list.jinja @@ -6,13 +6,13 @@ {% endblock %} {% block content %} -
- {% if user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID) %} - - {% endif %} +{% if user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID) %} + +{% endif %} +
{% for news in object_list.filter(type="NOTICE") %}