feat: add mailing templates and mail the confirmed teamers of selected assignments
This commit is contained in:
1 parent
6c89f1b8a9
commit
e285646bb2
57 files changed
+3525
-31
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{# The placeholders of the teamer mailing, listed under every editor that writes one. #}
|
||||
<div class="text-sm text-gray-500">
|
||||
<div class="pb-2">
|
||||
Platzhalter für Betreff und Nachricht, sie werden beim Senden pro Person ersetzt:
|
||||
</div>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
{% for placeholder, label in placeholders %}
|
||||
<span class="inline-flex items-center space-x-1 py-1 px-2 bg-gray-50 border border-gray-200 rounded-sm">
|
||||
<code>{{ placeholder }}</code>
|
||||
<span>{{ label }}</span>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,26 @@
|
||||
{# Files dropped earlier and still waiting in the upload session. The dropzone forgets them when
|
||||
the page is rendered again - after a failed save, say - but the next save still takes them, so
|
||||
they are listed here and can be dropped one by one. #}
|
||||
{% if uploads is not empty %}
|
||||
<div class="pb-2">
|
||||
<div class="text-sm text-gray-500 pb-1">
|
||||
Bereits hochgeladen:
|
||||
</div>
|
||||
<ul class="flex flex-col space-y-1">
|
||||
{% for upload in uploads %}
|
||||
<li class="flex items-center space-x-2 bg-gray-100 border rounded-sm px-2 py-1">
|
||||
{{ icon('document', 'w-4 h-4 shrink-0') }}
|
||||
<span class="flex-1">{{ upload.originalFilename }}</span>
|
||||
<span class="text-sm text-gray-500">{{ upload.size|file_size(1) }}</span>
|
||||
<button type="button"
|
||||
title="Datei entfernen"
|
||||
hx-delete="{{ path('app_upload_delete', { 'uuid': upload.uuid }) }}"
|
||||
hx-target="closest li"
|
||||
hx-swap="delete">
|
||||
{{ icon('delete', 'w-5 h-5') }}
|
||||
</button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user