{% extends 'admin/model/list.html' %} {% block body %} {% if saved_searches is defined %}
Saved Searches: {% if saved_searches %} {% for preset in saved_searches %}
{{ preset.name }}{% if preset.shared %} {% endif %} {% if preset.owner_email == current_user.email or current_user.global_admin %}
{% endif %}
{% endfor %} {% else %} none yet {% endif %} {% if cmdb_mode and not user_readonly %} {% endif %} Export CSV
{% endif %} {{ super() }} {# Quick-search scope options — moved into the search form by the JS in the tail block. When a search term is present, these toggles widen the search to also cover Objects and/or the Archive. #} {% set _scope_active = request.args.get('search') and ((request.args.get('inc_objects') == '1') or (request.args.get('inc_archive') == '1')) %} {% if cmdb_mode %} {% endif %} {% endblock %} {% block tail %} {{ super() }} {% endblock %}