{% extends 'base.html' %} {% load static %} {% block title %}Delete Dashboard - Hospital Management{% endblock %} {% block content %}
Dashboard to be Deleted

{{ dashboard.name|default:"Executive Overview" }}

{{ dashboard.description|default:"High-level KPIs and performance metrics for executive decision making" }}

{{ dashboard.dashboard_type|default:"Executive" }}
Active
{{ dashboard.created_by|default:"Dr. Sarah Johnson" }}
{{ dashboard.created_at|default:"January 15, 2024" }}
{{ dashboard.updated_at|default:"2 hours ago" }}
{% if dashboard.is_public %} Shared {% else %} Private {% endif %}

{{ dashboard.widget_count|default:8 }}

Widgets

{{ dashboard.view_count|default:1247 }}

Total Views

{{ dashboard.user_count|default:15 }}

Active Users
Deletion Impact Analysis
What will be deleted:
  • Dashboard widgets
    {{ dashboard.widget_count|default:8 }}
  • Layout configuration
    1
  • User access permissions
    {{ dashboard.user_count|default:15 }}
  • Usage analytics
    All
Affected users:
Owner
Viewer
Viewer
Viewers
Note: Users who have bookmarked this dashboard will lose access. Consider notifying them before deletion.
Alternative Actions

Consider these alternatives before permanently deleting the dashboard:

Deactivate Dashboard

Hide the dashboard without deleting it. You can reactivate it later.

Archive Dashboard

Move to archive for future reference while removing from active use.

Create Backup Copy

Create a backup copy before deletion for future restoration.

Transfer Ownership

Transfer dashboard ownership to another user instead of deleting.

Confirm Deletion
{% csrf_token %}
This confirmation is required to prevent accidental deletions.
{% endblock %}