{% if settings %} {% for s in settings %} {% set differs_from_default = s.boot_val and s.setting != s.boot_val %} {{ s.name }} {% if s.pending_restart %} restart needed{% endif %} {% if differs_from_default %} {% endif %} {{ s.formatted }} {{ s.boot_val or '-' }} {{ s.category }} {{ s.description }} {% if s.context in ('user', 'superuser') %} {% else %} read-only {% endif %} {% endfor %} {% else %} No settings found {% endif %}