feat: replace email flows with in-app notifications
Add recipient notification detail and filtering, a queued admin composer, and contextual automatic titles. Retire email delivery, obsolete auth routes, newsletter data, and related templates and settings.
This commit is contained in:
@@ -225,7 +225,7 @@ def update_event(request, event_id: int, payload: EventUpdateSchema):
|
||||
_notify_event_update(
|
||||
event,
|
||||
notification_type="event_cancelled",
|
||||
title=f"رویداد {event.title} لغو شد",
|
||||
title=f"رویداد «{event.title}» لغو شد",
|
||||
message="این رویداد لغو شده است. برای جزئیات بیشتر صفحه رویداد را بررسی کنید.",
|
||||
level="warning",
|
||||
sms_kind="event_cancellation",
|
||||
@@ -234,7 +234,7 @@ def update_event(request, event_id: int, payload: EventUpdateSchema):
|
||||
_notify_event_update(
|
||||
event,
|
||||
notification_type="event_rescheduled",
|
||||
title=f"زمان یا محل {event.title} تغییر کرد",
|
||||
title=f"جزئیات برگزاری «{event.title}» تغییر کرد",
|
||||
message="جزئیات زمانبندی یا محل برگزاری این رویداد بهروزرسانی شده است.",
|
||||
level="info",
|
||||
sms_kind="event_reschedule",
|
||||
|
||||
Reference in New Issue
Block a user