{% extends preflight_base_template %} {# Copyright 2010 Canonical Ltd. This software is licensed under the #} {# GNU Affero General Public License version 3 (see the file LICENSE). #} {% load i18n %} {% block title %}{% trans "Preflight Checks" %}{% endblock %} {% block content %}

{% trans "Preflight Checks" %}

{% for application in applications %}

{{ application.name }}

{% for check in application.checks %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Status" %}
{{ check.name }} {{ check.description }} {% if check.passed %} {% else %} {% if check.exception %} {% endif %} {% endif %}
{% endfor %}

{% trans "Versions" %}

{% for item in versions %} {% endfor %}
{% trans "Library/Package" %} {% trans "Version" %}
{{ item.name }} {{ item.version }}
{% if settings %}

{% trans "Settings" %}

{% for setting in settings %}
{{ setting.name }}
{{ setting.value }}
{% if setting.location %}
Location: {{ setting.location}}
{% endif %} {% endfor %}
{% endif %} {% if switches %}

{% trans "Gargoyle Switches" %}

{% for type, type_switches in switches.items %} {% for switch in type_switches %} {% endfor %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Conditions" %} {% trans "Status" %}
{{ type }}
{{ switch.name }} {{ switch.description }} {% if switch.conditions %}
    {% for condition in switch.conditions %}
  • {{ condition|first }}: {{ condition|last }}
  • {% endfor %}
{% endif %}
{{ switch.status_text }}
{% else %}

No switches.

{% endif %} {% for name, cache in caches.items %}

Cache {{ name }}

{% for key, value in cache %} {{ key }}: {{ value }}
{% endfor %}
{% empty %}

No caches.

{% endfor %}

View generated at: {{ now }}

{% endblock %}