{% extends "nexus/module.html" %} {% load gargoyle_helpers %} {% block head %} {{ block.super }} {% endblock %} {% block content %}
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 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 %}

Add a condition

{% if switch.status == 3 %} (Active for everyone) {% else %}{% if switch.status == 2 %} {% if switch.conditions %} (Active for conditions) {% else %} (Disabled for everyone) {% endif %} {% else %} (Disabled for everyone) {% endif %}{% endif %}

{% raw %} {% endraw %} {% endblock %}