{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ object }} - {{ report.title }}{% endblock %} {% block extra_controls %} {% trans "Audits" %} {% if can_run %}
{% endif %} {% endblock extra_controls %} {% block content %}{{ report.description }}
{% if generated_live %}{% trans "Computed from NetBox when this page was opened." %}
{% elif job %}{% trans "From job" %} #{{ job.pk }} {% badge job.get_status_display bg_color=job.get_status_color %} {% if job.completed %}{% trans "completed" %} {{ job.completed|isodatetime }}{% endif %}
{% endif %} {% if error %}| {{ item.label }} | {% if item.value is True %}{% trans "Yes" %} {% elif item.value is False %}{% trans "No" %} {% elif item.value is None %}— {% else %}{{ item.value }}{% endif %} |
|---|
{{ sections.note }}
{% endif %} {% for table in sections.tables %} {% if table.rows %}| {{ column }} | {% endfor %}
|---|
| {% if cell.device_id %} {{ cell.label|default:cell.device_id }} {% elif cell.interface_id %} {{ cell.label|default:cell.interface_id }} {% elif cell is True %}{% trans "Yes" %} {% elif cell is False %}{% trans "No" %} {% elif cell is None %}— {% else %}{{ cell }}{% endif %} | {% endfor %}
{% if job %} {% trans "The latest run has not produced a report yet. Reload once the job completes." %} {% else %} {% trans "This audit has not been run. Run it to ask Forward and store the result on a job." %} {% endif %}
{% endif %}