Skip to content

Commit 3bb64aa

Browse files
Bastien DeshayesArakmar
authored andcommitted
Ajout des nouveautés dans le mail de rappel
1 parent aee04a5 commit 3bb64aa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/Resources/views/emails/shift_reminder.html.twig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,18 @@ Ceci est juste un petit message pour te rappeler que tu as résérvé un crénea
66

77
{{ dynamicContent | markdown | raw }}
88

9+
{% if shift.shifter | last_shift_date | updates_list_from_date | length %}
10+
Voici la liste des nouveautés depuis ton dernier créneau le {{ shift.shifter | last_shift_date | date_fr_with_time }}
11+
<ul>
12+
{% for update in (shift.shifter | last_shift_date | updates_list_from_date) %}
13+
<li>
14+
{{ update.date | date_fr_long }} - {{ update.title }}<br>
15+
<a href="{{ update.link }}">{{ update.link }}</a>
16+
{{ update.description | markdown | raw }}
17+
</li>
18+
{% endfor %}
19+
</ul>
20+
{% endif %}
21+
922
Belle journée à toi.<br >
1023
Céleste, la petite fée des créneaux :)

0 commit comments

Comments
 (0)