{% extends "switchboard_template.html" %} {% block head %} {{ super() }} {% endblock %} {% block body_end %} {% endblock %} {% block content %}

Switchboard

{%- if errors|count %}

Switchboard detected errors during startup and configuration:

    {%- for e in errors %}
  • {{ e }}
  • {%- endfor %}

These errors must be fixed before Switchboard can be used. Additionally, all switches will be inactive until the errors are fixed. Check your logs for more details.

{%- endif %}
{%- if not errors|count %}
Add a Switch
You do not have any switches yet. Add the first one.
{% for switch in switches %} {% endfor %}
{% if switch.label %}{{ switch.label }}{% else %}{{ switch.key|title }}{% endif %} ({{ switch.key }})
{% if sorted_by|sort_field == 'date_created' %} Created {{ switch.date_created|timesince }} ago {% else %} Last modified {{ switch.date_modified|timesince }} ago {% endif %}
{% if switch.description %}

{{ switch.description }}

{% endif %}
{% for group in switch.conditions %}
{% for field, value, display, is_exclude in group.conditions %} {% if is_exclude %}not {% endif %}{{ display }} {% endfor %}
{% endfor %}
{% raw %} {% endraw %} {%- endif %} {# Hide UI if configuration errors are found #}
{% endblock %}