diff --git a/home/templates/email/orga.html b/home/templates/email/orga.html new file mode 100644 index 0000000000000000000000000000000000000000..6cd6a0e9adafd7a646edaac133368266ef2fe7ec --- /dev/null +++ b/home/templates/email/orga.html @@ -0,0 +1,12 @@ +{% autoescape off %} +Bonjour {{ activity.host_name }}, + +Voici la liste des participant·e·s inscrit·e·s à votre activité {{ activity }}{% if activity.start and activity.room %} (le {{ activity.start|date:"l à H:i" }} en {{ activity.room }}){% endif %} : +{% for participant in participants %} +- {{ participant.participant }} {{ participant.participant.user.email }}{% empty %} +Aucun participant inscrit.{% endfor %} + +-- +L'équipe Interludes +{% if settings.contact_email %}Pour nous contacter, envoyer un email à {{ settings.contact_email }}{% endif %} +{% endautoescape %} \ No newline at end of file diff --git a/home/templates/email/user.html b/home/templates/email/user.html new file mode 100644 index 0000000000000000000000000000000000000000..7b859808392666b9358eb5ac1949bbdc231acb56 --- /dev/null +++ b/home/templates/email/user.html @@ -0,0 +1,17 @@ +{% autoescape off %} +Bonjour {{ user.first_name }} {{ user.last_name }}, + +Les inscriptions aux Interludes sont fermées et la répartition des activités à été effectuée. +{% if requested_activities_nb %} +Vous avez obtenu {{ activities|length }} activité(s) (sur {{ requested_activities_nb }} souhaitée(s)). +{% for act in activities %} +- {{ act.activity.title }}{% if act.activity.start and act.activity.room %} (le {{ act.activity.start|date:"l à H:i" }} en {{ act.activity.room }}){% endif %}{% endfor %}{% if activities %} + +Cette liste est également disponible sur la page "Mon compte" du site: {% url "accounts:profile" %}.{% endif %} +{% else %} +Vous n'aviez demandé aucune activité. +{% endif %} +-- +L'équipe Interludes +{% if settings.contact_email %}Pour nous contacter, envoyer un email à {{ settings.contact_email }}{% endif %} +{% endautoescape %}