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:
@@ -287,7 +287,7 @@ def _notify_blog_comment(comment: Comment) -> None:
|
||||
comment.parent.author_id,
|
||||
{
|
||||
"type": "blog_reply",
|
||||
"title": "پاسخ جدید",
|
||||
"title": f"پاسخ جدید به دیدگاه شما درباره «{post.title}»",
|
||||
"message": f"به کامنت شما در «{post.title}» پاسخ داده شد.",
|
||||
"level": "info",
|
||||
"action_url": action_url,
|
||||
@@ -304,7 +304,7 @@ def _notify_blog_comment(comment: Comment) -> None:
|
||||
user_id,
|
||||
{
|
||||
"type": "blog_comment",
|
||||
"title": "کامنت جدید",
|
||||
"title": f"دیدگاه جدید برای «{post.title}»",
|
||||
"message": f"برای «{post.title}» کامنت جدید ثبت شد.",
|
||||
"level": "info",
|
||||
"action_url": action_url,
|
||||
|
||||
Reference in New Issue
Block a user