{% extends 'dcim/device/base.html' %} {% load i18n %} {% block content %}
| {% trans "Status" %} | {% if compliance %}{% badge compliance.get_status_display bg_color=compliance.get_status_color %}{% else %}{% trans "not checked yet" %}{% endif %} |
|---|---|
| {% trans "Notes" %} | {{ compliance.notes|placeholder }} |
| {% trans "Last checked" %} | {{ compliance.last_checked|isodatetime:"minutes"|placeholder }} |
| {% trans "Services" %} | {% for service in services %}{{ service|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}—{% endfor %} |
| {% trans "Matching templates" %} | {% for template in templates %}{{ template|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}—{% endfor %} |
{{ compliance.diff }}{% else %}{% trans "Nothing is missing." %}{% endif %}
{{ compliance.generated_config|default:"" }}