feat: remove notification bell that might not get displayed

This commit is contained in:
2025-07-11 17:34:55 +02:00
parent ba64661217
commit d53c5707b8

View File

@@ -35,7 +35,7 @@ def mail_admins_new_report(report):
def send_notification_email(notification_pk):
notification = Notification.objects.get(pk=notification_pk)
subject = f"🔔 {notification.title}"
subject = f"{notification.title}"
context = {"notification": notification, }
if notification.notification_type == NotificationTypeChoices.NEW_REPORT_COMMENT or notification.notification_type == NotificationTypeChoices.NEW_REPORT_AN:
context["user_comment"] = notification.report.user_comment