22 lines
1022 B
Twig
22 lines
1022 B
Twig
{# Derived from every row at once, so it is re-rendered with the whole checklist rather than on
|
|
its own. Nothing is shown while entries are open: the table sits right above. #}
|
|
{% if checklistStatus == constant('App\\Config\\SeasonChecklistStatus::COMPLETE') %}
|
|
<div class="pt-4">
|
|
{% embed '_partials/_alert.html.twig' with { 'type': 'success' } only %}
|
|
{% block message %}
|
|
<span class="font-bold">Alle ToDos erledigt.</span>
|
|
Teamer:in ist vollständig erfasst.
|
|
{% endblock %}
|
|
{% endembed %}
|
|
</div>
|
|
{% elseif checklistStatus == constant('App\\Config\\SeasonChecklistStatus::RETURNS_COMPLETE') %}
|
|
<div class="pt-4">
|
|
{% embed '_partials/_alert.html.twig' with { 'type': 'info' } only %}
|
|
{% block message %}
|
|
<span class="font-bold">Teamerdokumente vollständig.</span>
|
|
Der wöchentliche Reminder ist deaktiviert.
|
|
{% endblock %}
|
|
{% endembed %}
|
|
</div>
|
|
{% endif %}
|