feat: restrict ANs to 4 on index

This commit is contained in:
2025-06-19 11:48:21 +02:00
parent 1ab5c4885e
commit ba07533667

View File

@@ -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)