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

[#2118] Add links in email template, improve padding #1032

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

jiromaykin
Copy link
Contributor

@@ -49,7 +49,7 @@ <h2>{{ type_description }}</h2>
<tr>
<td class="td-mail td-mail__bg-info td__padding-all td__info-link" colspan="6">
<p>U hoeft niets te doen. Zodra er weer een update beschikbaar is ontvangt u hier een melding over. U kunt wel inloggen om uw aanvraag te bekijken.</p>
<p><strong><a href="{{ case_link }}" class="color--primary">Log in</a><span class="color--primary"> &rarr;</span></strong></p>
Copy link
Member

Choose a reason for hiding this comment

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

The case_link is preferable, this gives you a redirect to the loginpage with a next-parameter to the detailview of the case

@@ -46,7 +46,7 @@ <h2>{{ type_description }}</h2>
<tr>
<td class="td-mail td-mail__bg-danger td__padding-all" colspan="6">
<p>Log in om de documenten te uploaden.</p>
<a href="{{ case_link }}" class="button--primary">Log in</a>
<p><a href="{{ login_page }}" class="button--primary">Log in</a></p>
Copy link
Member

Choose a reason for hiding this comment

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

Also here case_link would be preferable

@alextreme
Copy link
Member

Opting to merge & correct both links in develop, this to ensure we get adequate feedback for the templates

@alextreme alextreme marked this pull request as ready for review February 15, 2024 17:33
@alextreme alextreme merged commit 1b01087 into develop Feb 15, 2024
10 of 12 checks passed
@alextreme alextreme deleted the feature/2118-add-email-template-links branch February 15, 2024 17:34
<td class="td-mail td__padding-all" colspan="6">
<p>Pas hier uw <a href="https://example.com">voorkeuren</a> aan voor de notificaties. </p>
<td class="td-mail td__padding-right td__padding-bottom td__padding-left" colspan="6">
<p>Pas hier uw <a href="{{ profile_notifications }}">voorkeuren</a> aan voor de notificaties. </p>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

⚠️ NOTE: Extra aandacht voor deze aanpassing, die technisch werkt als men dit ook werkelijk dusdanig in het HTML template toevoegt.

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.

2 participants