Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contact form hint to mails #698

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

devmount
Copy link
Collaborator

@devmount devmount commented Sep 26, 2024

Description of the Change

This change extends the base email template by a section above the email footer containing a hint with a link to the contact form and how to get support.

It can be enabled in email templates by setting:

{% set show_contact_form_hint = True %}

It was enabled in the following templates:

  • Email to confirm a booking request
  • Email that a zoom invitation failed
  • Email for account invitation
  • Email for new booking information

image

Benefits

Info for users where/how to get help/support.

Applicable Issues

Closes #642

@devmount devmount self-assigned this Sep 26, 2024
Copy link
Member

@MelissaAutumn MelissaAutumn left a comment

Choose a reason for hiding this comment

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

Looks good, one thing though. Feel free to pull the reply-to from an env and i'll set it when I'm back.

@@ -10,6 +10,8 @@
{-brand-name}
{-brand-slogan} {-brand-sign-up-with-url}

mail-brand-contact-form = contact form
mail-brand-support-hint = Got questions? We're here to help. Fill out our { $contact_form_link }, or simply reply to this email for support.
Copy link
Member

Choose a reason for hiding this comment

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

We need a reply-to header on the email first 👀

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Whoops of course 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We already have that env: SUPPORT_EMAIL I'll use that for the reply-to header

@devmount
Copy link
Collaborator Author

devmount commented Sep 27, 2024

@MelissaAutumn @malini I added the reply to header now and set it per default to the support email address. Let me know if any other behaviour is needed / wished.

image

@devmount devmount merged commit 1cd89bc into main Sep 27, 2024
4 checks passed
@devmount devmount deleted the enhancements/642-link-to-contact-page branch September 27, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a link on the invite email to the contact page
2 participants