mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-09 00:50:14 +02:00
fix: hide Ready badge on the active quiz, translate to Voorbereid
An active quiz is finalized by definition, so showing both badges was redundant.
This commit is contained in:
@@ -13,8 +13,7 @@
|
|||||||
{{ quiz.name }}
|
{{ quiz.name }}
|
||||||
{% if season.activeQuiz == quiz %}
|
{% if season.activeQuiz == quiz %}
|
||||||
<span class="badge text-bg-light">{{ 'Active'|trans }}</span>
|
<span class="badge text-bg-light">{{ 'Active'|trans }}</span>
|
||||||
{% endif %}
|
{% elseif quiz.isFinalized %}
|
||||||
{% if quiz.isFinalized %}
|
|
||||||
<span class="badge text-bg-success">{{ 'Ready'|trans }}</span>
|
<span class="badge text-bg-success">{{ 'Ready'|trans }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user