{% comment %} Reusable partial for displaying boolean configuration values. Parameters: - label: The configuration label (e.g., "Task Acks Late:") - value: The boolean value to display - invert: (optional) If true, shows "enabled" as muted and "disabled" as positive (default: false) - warning: (optional) If true and enabled, shows warning styling (default: false) - help_text: (optional) Explanation text to show below the value {% endcomment %}
  • {{ label }} {% if warning and value %} ⚠️ Enabled{% if warning_text %} ({{ warning_text }}){% endif %} {% elif value %} {% if invert %} ✓ Enabled {% else %} ✓ Enabled {% endif %} {% else %} {% if invert %} ✗ Disabled {% else %} ✗ Disabled {% endif %} {% endif %} {% if help_text %}
    {{ help_text }}
    {% endif %}