From 748f51e1a56bb02c528a080176ad4a7fa6cad227 Mon Sep 17 00:00:00 2001 From: Marijn Doeve Date: Wed, 8 Jul 2026 15:24:18 +0200 Subject: [PATCH] feat: show active/ready badges on quiz list Adds an "Active" badge for the season's currently selected quiz and renames the "Finalized" badge to "Ready" for finalized quizzes, so both states are visible at a glance. --- templates/backoffice/season/tab_tests.html.twig | 5 ++++- translations/messages+intl-icu.nl.xliff | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/backoffice/season/tab_tests.html.twig b/templates/backoffice/season/tab_tests.html.twig index 5f070d4..ffa3217 100644 --- a/templates/backoffice/season/tab_tests.html.twig +++ b/templates/backoffice/season/tab_tests.html.twig @@ -11,8 +11,11 @@ {{ quiz.name }} + {% if season.activeQuiz == quiz %} + {{ 'Active'|trans }} + {% endif %} {% if quiz.isFinalized %} - {{ 'Finalized'|trans }} + {{ 'Ready'|trans }} {% endif %} {% else %} diff --git a/translations/messages+intl-icu.nl.xliff b/translations/messages+intl-icu.nl.xliff index b077c92..82f0ad1 100644 --- a/translations/messages+intl-icu.nl.xliff +++ b/translations/messages+intl-icu.nl.xliff @@ -661,6 +661,10 @@ Re-opens the quiz for editing. Candidates will no longer be able to take the quiz until it is finalized again. Heropent de test voor bewerking. Deelnemers kunnen de test niet meer afnemen totdat deze opnieuw is afgerond. + + Ready + Voorbereid + Red Rood