{% extends 'admin/master.html' %} {% macro name_list(title, names, css) %} {% if names %}
{{ title }}: {{ names|length }} {{ names|join(', ') }}
{% endif %} {% endmacro %} {% block body %}
Takes what the Export of this page writes, as well as rules written by
hand. Only rules of {{ rule_type }} are accepted.
Back to the list
Documentation
| Position | Rule | Enabled | What happens |
|---|---|---|---|
| {{ row.where }} | {{ row.name }} | {% if row.status != 'error' %}{{ 'yes' if row.enabled else 'no' }}{% endif %} |
{% if row.status == 'error' %}
Error
{% for message in row.errors %} {{ message }} {% endfor %}
{% elif row.status == 'exists' and override %}
Replaces
{{ row.existing|join(', ') }}
{% elif row.status == 'exists' %}
Skipped, already exists
{{ row.existing|join(', ') }}
{% else %}
New
{% endif %}
{% for message in row.warnings %}
{{ message }}
{% endfor %}
|