Skip to content

Commit

Permalink
Fix: absolute action url for custom event notification
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrindt committed Jan 27, 2024
1 parent b58214e commit f74c03a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ephios/core/services/notifications/types.py
Expand Up @@ -586,7 +586,10 @@ def get_actions(cls, notification):
str(_("View message")),
make_absolute(reverse("core:notification_detail", kwargs={"pk": notification.pk})),
),
(str(_("View event")), notification.data.get("event_url", event.get_absolute_url())),
(
str(_("View event")),
make_absolute(notification.data.get("event_url", event.get_absolute_url())),
),
]


Expand Down

0 comments on commit f74c03a

Please sign in to comment.