Compare commits

...

3 Commits

Author SHA1 Message Date
eb2dfc8591 Release v4.14.2 2026-03-18 09:18:33 +01:00
b5a22508ff Merge branch 'fix/fix-link-notification-email' into 'master'
Fix notification email links to handle user and non-user contexts

See merge request Chill-Projet/chill-bundles!973
2026-03-18 08:16:41 +00:00
f12bc2f35f Fix notification email links to handle user and non-user contexts 2026-03-18 08:16:40 +00:00
5 changed files with 20 additions and 1 deletions

3
.changes/v4.14.2.md Normal file
View File

@@ -0,0 +1,3 @@
## v4.14.2 - 2026-03-18
### Fixed
* Fix link inside notification email

View File

@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).
## v4.14.2 - 2026-03-18
### Fixed
* Fix link inside notification email
## v4.14.1 - 2026-03-16
### Security
* ([#506](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/506)) ([!972](https://gitlab.com/Chill-Projet/chill-bundles/-/merge_requests/972)) Fix permission in list of activities in person context

View File

@@ -101,6 +101,9 @@ class NotificationMailer
if (null === $addressee->getEmail()) {
continue;
}
if ($notification->getSender() === $addressee) {
continue;
}
$this->processNotificationForAddressee($notification, $addressee);
}
}

View File

@@ -13,7 +13,12 @@
> {{ line }}
{% endfor %}
{% if dest.isUser %}
[Vous pouvez visualiser la notification et y répondre ici.]({{ absolute_url(path('chill_main_notification_show', {'_locale': dest.locale, 'id': notification.id }, false)) }})
{% else %}
[Vous pouvez visualiser la notification et y répondre ici.]({{ absolute_url(path('chill_main_notification_grant_access_by_access_key', {'_locale': dest.locale, 'id': notification.id, 'accessKey': notification.accessKey }, false)) }})
{% endif %}
-----

View File

@@ -12,7 +12,11 @@ Titre de la notification: {{ notification.title }}
> {{ line|raw }}
{% endfor %}
Vous pouvez visualiser la notification et y répondre ici: {{ absolute_url(path('chill_main_notification_show', {'_locale': dest.locale, 'id': notification.id }, false)) }}.
{% if dest.isUser %}
[Vous pouvez visualiser la notification et y répondre ici.]({{ absolute_url(path('chill_main_notification_show', {'_locale': dest.locale, 'id': notification.id }, false)) }})
{% else %}
[Vous pouvez visualiser la notification et y répondre ici.]({{ absolute_url(path('chill_main_notification_grant_access_by_access_key', {'_locale': dest.locale, 'id': notification.id, 'accessKey': notification.accessKey }, false)) }})
{% endif %}
--
Le logiciel Chill