feat: all-season assignments

This commit is contained in:
Björn Fromme authored and Björn Fromme committed 2026-09-26 12:13:16 +02:00
1 parent 675cec1b69
commit cf876ed224
119 files changed
+6194 -294

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@
{% if recipients.eligibleCount > 0 %}
<button type="button"
class="btn"
hx-post="{{ path('app_admin_teamer_mailing_confirm') }}"
hx-post="{{ path('app_admin_teamer_mailing_confirm', { 'scope': scope }) }}"
hx-include="closest form"
hx-target="body"
hx-swap="beforeend">
@@ -105,7 +105,7 @@
Vorschau an mich senden
</button>
{% if hasDraft %}
<a href="{{ path('app_admin_teamer_mailing_discard') }}" class="btn btn--secondary">
<a href="{{ path('app_admin_teamer_mailing_discard', { 'scope': scope }) }}" class="btn btn--secondary">
Entwurf verwerfen
</a>
{% endif %}
@@ -41,4 +41,4 @@
{# without a complete mail there is nothing to confirm, the button only leads back to the draft #}
{% block button_confirm %}{{ sendable ? 'Jetzt senden' : 'Zurück zum Entwurf' }}{% endblock %}
{% block button_attribute %}{% if sendable %}hx-post="{{ path('app_admin_teamer_mailing_send') }}" hx-include="#mailing-confirm-fields"{% else %}{{ stimulus_action('modal', 'close') }}{% endif %}{% endblock %}
{% block button_attribute %}{% if sendable %}hx-post="{{ path('app_admin_teamer_mailing_send', { 'scope': scope }) }}" hx-include="#mailing-confirm-fields"{% else %}{{ stimulus_action('modal', 'close') }}{% endif %}{% endblock %}
+3
View File
@@ -20,6 +20,9 @@
<div class="pb-4">
{{ form_widget(form.status) }}
</div>
<div class="pb-4">
{{ form_row(form.allSeason) }}
</div>
<div class="pb-4">
{{ form_row(form.allowOverlappingApplications) }}
</div>