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 href in link in update message email #16661
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aloxe Thanks for creating the PR. Seems you actually only changed a test file. So that wouldn't have any effect. To adjust the mails you need to update this file: https://github.com/matomo-org/matomo/blob/4.x-dev/plugins/Marketplace/templates/_updateCommunicationEmail.twig
Hope this is good now. |
@@ -10,14 +10,14 @@ | |||
{% if hasThemeUpdate %} | |||
<p> | |||
{{ 'CoreUpdater_NotificationClickToUpdateThemes'|translate }}<br/> | |||
{{ host }}index.php?module=CorePluginsAdmin&action=themes | |||
<a href="{{ host }}index.php?module=CorePluginsAdmin&action=themes">{{ host }}index.php?module=CorePluginsAdmin&action=themes</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aloxe we probably need to escape the first {{ host }}
like this: {{ host|e('html_attr') }}
. Also in the link below for better security.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delay, I haven't noticed this comment. I pushed the change just now.
Thanks for the contribution, @aloxe ! |
Description:
The link in update email is not clickable. This makes it clickable
Review