{% extends "base.html" %} {% load static %} {% block title %}{{ tenant.display_name }} - Tenant Details - {{ block.super }}{% endblock %} {% block content %}

{{ tenant.display_name }}

Edit Tenant
{% if not tenant.is_active %} {% endif %}
Basic Information

{{ tenant.name }}

{{ tenant.display_name }}

{{ tenant.get_organization_type_display }}

{% if tenant.domain %} {{ tenant.domain }} {% else %} Not configured {% endif %}

{% if tenant.is_active %} Active {% else %} Inactive {% endif %}

{{ tenant.tenant_id }}

{{ tenant.created_at|date:"F d, Y \a\t H:i" }}

{{ tenant.updated_at|date:"F d, Y \a\t H:i" }}

{% if tenant.description %}

{{ tenant.description|linebreaks }}

{% endif %}
Contact Information

{% if tenant.contact_email %} {{ tenant.contact_email }} {% else %} Not provided {% endif %}

{% if tenant.contact_phone %} {{ tenant.contact_phone }} {% else %} Not provided {% endif %}

{% if tenant.website %} {{ tenant.website }} {% else %} Not provided {% endif %}

{{ tenant.timezone|default:"Not configured" }}

{% if tenant.address %}

{{ tenant.address|linebreaks }}

{% endif %}
Configuration Settings

{{ tenant.max_users|default:"Unlimited" }}

{{ tenant.storage_limit_gb|default:"Unlimited" }}{% if tenant.storage_limit_gb %} GB{% endif %}

{% if tenant.features_enabled %} {% for feature in tenant.features_enabled %} {{ feature }} {% endfor %} {% else %} Default features {% endif %}
Quick Stats

{{ tenant.total_users|default:0 }}

Total Users

{{ tenant.active_users|default:0 }}

Active Users

{{ tenant.total_departments|default:0 }}

Departments

{{ tenant.storage_used_gb|default:0 }}

GB Used
Recent Activity
{% if recent_activities %} {% for activity in recent_activities %}

{{ activity.description }}

{{ activity.timestamp|timesince }} ago
{% endfor %} {% else %}

No recent activity

{% endif %}
System Health
Database Healthy
Storage 75%
API Response Good
{% endblock %}