{% extends 'admin/master.html' %} {% macro action_button(action, label, css, icon, confirm='') %}
{% endmacro %} {# Render one host-selection condition (FullCondition) as readable text. #} {% macro render_cond(c) %} {% if c.match_type == 'host' %} Hostname {{ 'NOT ' if c.hostname_match_negate }}{{ c.hostname_match }}
“{{ c.hostname }}”
{% else %}
Attribute “{{ c.tag }}”
{{ 'NOT ' if c.value_match_negate }}{{ c.value_match }}
“{{ c.value }}”
{% endif %}
{% endmacro %}
{% block body %}
{{ project.documentation }}
{% endif %}{{ o.ruleset or '—' }}
Folder:
{{ o.folder or '/' }}
{% if o.condition_host %}
Host cond:
{{ o.condition_host }}
{% endif %}
{% if o.condition_label_template %}
Label cond:
{{ o.condition_label_template }}
{% endif %}
{% if o.condition_service %}
Service:
{{ o.condition_service }}
{% endif %}
{{ o.value_template or '—' }}
{{ o.dcd_id or '—' }}
Title:
{{ o.title or '—' }}
Site:
{{ o.site or '—' }}
Connector:
{{ o.connector_type or '—' }}