From ba07533667f7ce6f47ec9a80ba7c557963346f39 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 19 Jun 2025 11:48:21 +0200 Subject: [PATCH] feat: restrict ANs to 4 on index --- src/fellchensammlung/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 08ff84c..9f5b9d9 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -57,7 +57,7 @@ def index(request): lang = Language.objects.get(languagecode=language_code) active_announcements = Announcement.get_active_announcements(lang) - context = {"adoption_notices": active_adoptions[:5], "show_ANs": True, + context = {"adoption_notices": active_adoptions[:4], "show_ANs": True, "announcements": active_announcements} Text.get_texts(["how_to", "introduction"], lang, context)