{% from "_log_entry.html" import log_entry %} {%- set fc = report.fail_count -%} {%- set nc = report.note_count -%} {%- if fc %} {%- set summary = '' ~ fc ~ ' fail ' ~ nc ~ ' note' -%} {%- elif nc %} {%- set summary = 'ok ' ~ nc ~ ' note' -%} {%- else %} {%- set summary = 'all checks passed' -%} {%- endif %} {% call log_entry("Check", timestamp, summary) %} {% if report.findings %}
| Level | Where | Code | Message |
|---|---|---|---|
| {% if f.level == level_fail %} fail {% else %} note {% endif %} | {{ f.where }} | {{ f.code }} | {{ f.message }} |
Nothing to report.
{% endif %} {% endcall %}