{# settings/_tabs.html — the Settings section's pages as one strip of tabs, in each page's section_tabs block above the trail, as Ansible's are (#5377). `active` names the page or the one it sits under. #} {% from "_macros.html" import section_tabs %} {% macro settings_tabs(active) -%} {{ section_tabs([("general", "General", "/settings/general/"), ("thresholds", "Thresholds & Retention", "/settings/thresholds/"), ("notifications", "Notifications", "/settings/notifications/"), ("reports", "Reports", "/settings/reports/"), ("auth", "Authentication", "/settings/auth/"), ("users", "Users", "/settings/users/"), ("ansible", "Ansible", "/settings/ansible/"), ("plugins", "Plugins", "/settings/plugins/"), ("system", "System", "/settings/system/")], active, "Settings") }} {%- endmacro %}