{% extends 'generic/object.html' %} {% load i18n %} {% load plugins %} {% load render_table from django_tables2 %} {% block content %}
| {% trans "Name" %} | {{ object.name }} |
|---|---|
| {% trans "Description" %} | {{ object.description|placeholder }} |
| {% trans "Enabled" %} | {% checkmark object.enabled %} |
| {% trans "Weight" %} | {{ object.weight }} |
| {% trans "Object types" %} | {% for ot in object.object_types.all %} {{ ot.app_label }}.{{ ot.model }} {% empty %} {% trans "Every object type" %} {% endfor %} |
|---|---|
| {% trans "Conditions" %} |
{% if object.conditions %}
{{ object.conditions|json }}
{% trans "Evaluated against:" %} {{ object.get_condition_state_display|lower }}
{% else %}{{ ''|placeholder }}{% endif %}
|
| {% trans "Required checks" %} | {% for name in object.checks %} {{ name }} {% empty %} {% trans "Only the checks which apply everywhere" %} {% endfor %} |