{# Settings → Features (issue #62, redesigned #379): tri-state switches for the live-read capability flags. Each switch shows the effective state; a "Changed" badge and "Reset to default" affordance appear when the operator has overridden the installation setting. The three persisted states (on/off/inherit=NULL) stay on the wire. Self-contained: renders from _settings_context. #} {% from "settings/_switch.html" import tri_switch %}

Features

Switches show what is in effect. Anything you change is marked Changed and can be reset to the default. Changes apply to your next run, no restart needed.

{% for error in features_errors %} {% endfor %} {% for flag in feature_flags %} {{ tri_switch( name=flag.name, label=flag.label, help_text=flag.help, state=flag.state, effective=flag.effective, env_default=flag.env_default, disabled=flag.disabled, disabled_reason=flag.disabled_reason, dependent=flag.dependent, ) }} {% endfor %}