diff --git a/apiserver/plane/bgtasks/email_notification_task.py b/apiserver/plane/bgtasks/email_notification_task.py index e700b2624..dcc37796d 100644 --- a/apiserver/plane/bgtasks/email_notification_task.py +++ b/apiserver/plane/bgtasks/email_notification_task.py @@ -284,6 +284,7 @@ def send_email_notification( "project": str(issue.project.name), "user_preference": f"{base_api}/profile/preferences/email", "comments": comments, + "entity_type": "issue", } html_content = render_to_string( "emails/notifications/issue-updates.html", context diff --git a/apiserver/templates/emails/notifications/issue-updates.html b/apiserver/templates/emails/notifications/issue-updates.html index e17f0e9e6..8ba91c6fe 100644 --- a/apiserver/templates/emails/notifications/issue-updates.html +++ b/apiserver/templates/emails/notifications/issue-updates.html @@ -3,7 +3,7 @@
-{{summary}} {% if data|length > 0 %} {{ data.0.actor_detail.first_name}} {{data.0.actor_detail.last_name}} {% else %} {{ comments.0.actor_detail.first_name}} {{comments.0.actor_detail.last_name}} {% endif %} and others.
{% endif %} {% for update in data %} {% if update.changes.name %} -The issue title has been updated to {{ issue.name}}
+The {{entity_type}} title has been updated to {{ issue.name}}
{% endif %} {% if data %}