{% extends "base.html" %} {% load static %} {% block title %}Delete Message - Communications{% endblock %} {% block content %}

Delete Message

Confirm Message Deletion
Message to be deleted:
Subject: {{ object.subject }}
Type: {{ object.get_message_type_display }}
Priority: {{ object.get_priority_display }}
Status: {{ object.get_status_display }}
Recipients: {{ object.messagerecipient_set.count }} recipient{{ object.messagerecipient_set.count|pluralize }}
Created: {{ object.created_at|date:"M d, Y g:i A" }}
Content Preview:
{{ object.body|truncatewords:50|linebreaks }} {% if object.body|wordcount > 50 %} [Content truncated...] {% endif %}
Deletion Impact:
{{ object.messagerecipient_set.count }}
Recipients affected
{{ delivery_logs_count|default:0 }}
Delivery logs
All
Analytics data
Consider these alternatives:
{% if object.status == 'DRAFT' %}
Edit Message
Recommended

Modify the message content instead of deleting it.

Edit Message
{% endif %}
Archive Message
Alternative

Keep the message but mark it as archived for future reference.

Export Data
Backup

Download message data before deletion for your records.

{% csrf_token %}
Cancel Back to List
{% endblock %} {% block js %} {% endblock %}