{% extends "layouts/base.html" %} {% load static %} {% load i18n %} {% load humanize %} {% block title %}{% trans "Delete Campaign" %} - {{ object.name }} - {{ block.super }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% trans "Delete Campaign" %}

{% trans "Back to Campaign" %}

{% trans "Permanent Deletion Warning" %}

{% trans "This action cannot be undone. All campaign data, performance metrics, and associated records will be permanently deleted." %}

{% trans "Campaign Details" %}
{% trans "Campaign Name:" %}
{{ object.name }}
{% trans "Advertiser:" %}
{{ object.advertiser.name }}
{% trans "Campaign Type:" %}
{{ object.get_campaign_type_display }}
{% trans "Status:" %}
{% if object.status == 'active' %} {{ object.get_status_display }} {% elif object.status == 'paused' %} {{ object.get_status_display }} {% elif object.status == 'completed' %} {{ object.get_status_display }} {% else %} {{ object.get_status_display }} {% endif %}
{% trans "Campaign Period:" %}
{{ object.start_date|date:"M d, Y" }} - {{ object.end_date|date:"M d, Y" }}
{% trans "Total Budget:" %}
${{ object.total_budget|floatformat:2|intcomma }}
{% if object.description %}
{% trans "Description:" %}

{{ object.description }}

{% endif %}
{% trans "Deletion Impact" %}

{% trans "The following data and relationships will be permanently deleted:" %}

{% trans "Performance Data" %}
{% trans "All performance metrics, impressions, and analytics data" %} {% if object.total_impressions %} ({{ object.total_impressions|intcomma }} {% trans "impressions" %}) {% endif %}
{% trans "Channel Schedules" %}
{% trans "All scheduling information and channel assignments" %} {% if object.channels.count %} ({{ object.channels.count }} {% trans "channels" %}) {% endif %}
{% trans "Financial Records" %}
{% trans "Budget allocation and spending history" %} {% if object.total_spend %} (${{ object.total_spend|floatformat:2|intcomma }} {% trans "spent" %}) {% endif %}
{% trans "Geographic Targeting" %}
{% trans "All geographic zone assignments and targeting data" %} {% if object.geographic_zones.count %} ({{ object.geographic_zones.count }} {% trans "zones" %}) {% endif %}
{% if object.status == 'active' or object.status == 'paused' %}
{% trans "Consider These Alternatives" %}

{% trans "Instead of deleting, you might want to consider these options:" %}

{% trans "Pause Campaign" %}
{% trans "Temporarily stop the campaign while preserving all data" %}
{% trans "Archive Campaign" %}
{% trans "Mark as completed to preserve historical data" %}
{% endif %}
{% trans "Confirm Deletion" %}
{% csrf_token %}
{% trans "Campaign name does not match" %}
{% endblock %} {% block extra_js %} {% endblock %}