Skip to content

add mailing uodate for better UX#32

Merged
ThomasCandille merged 2 commits intomainfrom
develop
Mar 18, 2026
Merged

add mailing uodate for better UX#32
ThomasCandille merged 2 commits intomainfrom
develop

Conversation

@ThomasCandille
Copy link
Copy Markdown
Contributor

No description provided.

ThomasCandille and others added 2 commits March 18, 2026 11:42
feat: enhance email templates and add datetime formatting for event n…
Copilot AI review requested due to automatic review settings March 18, 2026 10:49
@ThomasCandille ThomasCandille merged commit 97d1ff2 into main Mar 18, 2026
3 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the event-related email templates and the email service to improve how event dates are displayed and to adjust the email copy shown to users/admins.

Changes:

  • Standardize/adjust HTML email template markup and wording across approval/accepted/rejected emails.
  • Add datetime formatting in EmailService so event start/end render in a consistent dd/mm/YYYY à HH:MM format.
  • Update rejection/acceptance templates to direct users to a specific contact location.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
backend/templates/event_rejected.html Email copy/layout updates; removes “reasons” section; changes contact text.
backend/templates/event_approval.html Email copy/layout updates; modifies greeting and button label; minor markup formatting changes.
backend/templates/event_accepted.html Minor layout/copy changes; updates contact text.
backend/services/email_service.py Adds _format_datetime_for_email() and uses it for event start/end in outgoing emails.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


<div class="info-note">
Si vous avez des questions concernant votre événement, n'hésitez pas à contacter l'administration.
Si vous avez des questions concernant votre événement, n'hésitez pas à contacter le bureau coding (302).
Comment on lines +1 to +6
<!doctype html>
<html lang="fr">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Comment on lines +1 to +6
<!doctype html>
<html lang="fr">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Comment on lines +141 to +145
<p>
Si vous pensez qu'il y a eu une erreur ou si vous souhaitez obtenir
plus d'informations sur les raisons du rejet, n'hésitez pas à
contacter le bureau coding (302).
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants