{% extends "base.html" %} {% block title %}Rules{% endblock %} {% block content %}
Rules encode company policy. Suggestions that would break an enabled rule are shown greyed out as blocked.
| Name | What it says | Account | Status | Current violations | |
|---|---|---|---|---|---|
| {{ r.name }} {{ r.kind_label }} {% if r.description %}{{ r.description }} {% endif %} |
{{ r.describe(names) }} | {% if r.account_ref is none %}all accounts{% else %}{{ account_names.get(r.account_ref, 'deleted account #%d' % r.account_ref) }}{% endif %} | {{ 'enabled' if r.enabled else 'disabled' }} |
{% set v = violations.get(r.id, []) %}
{% if v %}
{{ v | length }}
|
Edit |
| No rules yet — create one. | |||||
| {{ k }} | {{ label }} |