{% extends "base.html" %} {% load i18n %} {% block content %}

{{ application }}

{% trans 'Name' %}: {{ application }}
{% trans 'Upstream' %}: {{ application.upstream }}
{% trans 'Default Policy' %}: {% if application.default_policy_config %} {{ application.default_policy_config.default_policy }} {% else %} {% trans 'Default (Deny)' %} {% trans 'Set Policy' %} {% endif %}

{% trans 'Application Hosts' %}

{% if is_reserved %} {% trans 'Add Host' %} {% else %} {% trans 'Add Host' %} {% endif %}
{% if hosts or django_hostnames %}
{% for hostname in django_hostnames %} {% endfor %} {% for host in hosts %} {% endfor %}
{% trans 'Hostname' %} {% trans 'Actions' %}
{{ hostname }}
{{ host.hostname }} {% if is_reserved %} {% else %} {% endif %}
{% else %}
{% trans 'No Hosts configured for this application.' %}
{% endif %}

{% trans 'Application Routes' %}

{% if routes %}
{% for route in routes %} {% endfor %}
{% trans 'Route Name' %} {% trans 'Path Prefix' %} {% trans 'Policy' %} {% trans 'Order' %} {% trans 'Actions' %}
{{ route }} {{ route.path_prefix }} {{ route.policy }} {{ route.order }}
{% else %}
{% trans 'No Routes configured for this application.' %}
{% endif %}
{% endblock %}