{% extends "channels/base.html" %} {% load static %} {% block title %}{{ zone.name }} - Zone Details - {{ block.super }}{% endblock %} {% block breadcrumb_items %} {% endblock %} {% block channels_content %}

{{ zone.name }}

Zone Code: {{ zone.code }}

{% if perms.channels.change_zone %} Edit Zone {% endif %}
Zone Information

{{ zone.name }}

{{ zone.code }}

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

{{ zone.created_at|date:"M d, Y H:i" }}

{{ zone.updated_at|date:"M d, Y H:i" }}

{{ zone.channels.count }}

{% if zone.description %}

{{ zone.description }}

{% endif %}
Statistics
{{ zone.channels.count }}
Total Channels
{{ zone.active_channels_count }}
Active
{{ zone.total_configurations }}
Configurations
Quick Actions
{% if perms.channels.add_channel %} Add Channel {% endif %} {% if perms.channels.change_zone %} {% endif %}
Channels ({{ zone.channels.count }})
{% if perms.channels.add_channel %} Add Channel {% endif %}
{% if zone.channels.all %}
{% for channel in zone.channels.all %} {% endfor %}
Channel Type Country Language Status Configuration Actions
{% if channel.logo %} {% else %}
{% endif %}
{{ channel.name }}
ID: {{ channel.id }}
{{ channel.get_channel_type_display }} {{ channel.country.name }} {{ channel.language }} {% if channel.is_active %}Active{% else %}Inactive{% endif %} {% with channel.channelzone_set.first as config %} {% if config %}
Video: {{ config.video_codec.name }}
Audio: {{ config.audio_codec.name }}
{{ config.bitrate }} kbps
{% else %} Not configured {% endif %} {% endwith %}
{% if perms.channels.change_channel %} {% endif %}
{% else %}

No channels assigned to this zone.

{% if perms.channels.add_channel %} Add First Channel {% endif %}
{% endif %}
Channel Configurations
{% if perms.channels.add_channelzone %} {% endif %}
{% if zone.channelzone_set.all %}
{% for config in zone.channelzone_set.all %} {% endfor %}
Channel Video Codec Audio Codec Bitrate Resolution Status Actions
{% if config.channel.logo %} {% endif %} {{ config.channel.name }}
{{ config.video_codec.name }} {{ config.audio_codec.name }} {{ config.bitrate }} kbps {{ config.resolution|default:"-" }} {% if config.is_active %}Active{% else %}Inactive{% endif %} {% if perms.channels.change_channelzone %}
{% endif %}
{% else %}

No channel configurations found for this zone.

{% if perms.channels.add_channelzone %} {% endif %}
{% endif %}
{% endblock %} {% block extra_footer_js %} {% endblock %}