mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 15:10:16 +02:00
482ca8be7e
Add a 50/50 or 66/33 split layout to every backoffice page with Dutch instructions explaining how to use Tijd voor de Test. Content covers the overall workflow, quiz finalize/activate flow, and both candidate participation methods (own device vs. shared laptop). Help text lives in dedicated partials under templates/backoffice/help/ and is loaded via Twig include(), keeping page templates clean. All strings use a separate 'instructions' translation domain (instructions+intl-icu.nl.xliff) isolated from the main messages domain. Also updates 'Finalize'-related Dutch translations to use 'Afronden' and adds tooltips to the finalize/unfinalize buttons.
19 lines
643 B
Twig
19 lines
643 B
Twig
<div class="row">
|
|
<div class="col-md-6 col-12">
|
|
<div class="mb-3">
|
|
<a class="btn btn-sm btn-outline-primary"
|
|
href="{{ path('tvdt_backoffice_add_candidates', {seasonCode: season.seasonCode}) }}">{{ 'Add Candidate'|trans }}</a>
|
|
</div>
|
|
<ul class="mb-3">
|
|
{% for candidate in season.candidates %}
|
|
<li>{{ candidate.name }}</li>
|
|
{% else %}
|
|
{{ 'No candidates'|trans }}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<div class="col-md-6 col-12">
|
|
{{ include('backoffice/help/season_candidates.html.twig') }}
|
|
</div>
|
|
</div>
|