Minor templates improvements

pull/54/head
buglloc 2017-05-19 19:46:15 +03:00
parent 9643318c93
commit c9c5957d6b
2 changed files with 10 additions and 12 deletions

View File

@ -9,17 +9,17 @@ No issues found.
{% else %} {% else %}
{% for issue in issues|sort(attribute='severity') %} {% for issue in issues|sort(attribute='severity') %}
{{ colors[issue.severity] }}>> Problem: [{{ issue.plugin }}] {{ issue.summary }} {{ colors[issue.severity] }}>> Problem: [{{ issue.plugin }}] {{ issue.summary }}{{ colors.DEF }}
{% if issue.description %} {% if issue.description %}
Description: {{ issue.description }} Description: {{ issue.description }}
{% endif %} {% endif %}
{% if issue.help_url %} {% if issue.help_url %}
Additional info: {{ issue.help_url }} Additional info: {{ issue.help_url }}
{% endif %} {% endif %}
{% if issue.reason %} {% if issue.reason %}
Reason: {{ issue.reason }} Reason: {{ issue.reason }}
{% endif %} {% endif %}
Pseudo config:{{ colors.DEF }} Pseudo config:
{{ issue.config }} {{ issue.config }}
{% if not loop.last %} {% if not loop.last %}
@ -30,7 +30,6 @@ No issues found.
{% endif %} {% endif %}
{% if not loop.last %} {% if not loop.last %}
--------8<--------8<--------8<--------8<-------- --------8<--------8<--------8<--------8<--------
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if stats %} {% if stats %}

View File

@ -9,17 +9,17 @@ No issues found.
{% for issue in issues|sort(attribute='severity') %} {% for issue in issues|sort(attribute='severity') %}
>> Problem: [{{ issue.plugin }}] {{ issue.summary }} >> Problem: [{{ issue.plugin }}] {{ issue.summary }}
Severity: {{ issue.severity }} Severity: {{ issue.severity }}
{% if issue.description %} {% if issue.description %}
Description: {{ issue.description }} Description: {{ issue.description }}
{% endif %} {% endif %}
{% if issue.help_url %} {% if issue.help_url %}
Additional info: {{ issue.help_url }} Additional info: {{ issue.help_url }}
{% endif %} {% endif %}
{% if issue.reason %} {% if issue.reason %}
Reason: {{ issue.reason }} Reason: {{ issue.reason }}
{% endif %} {% endif %}
Pseudo config: Pseudo config:
{{ issue.config }} {{ issue.config }}
{% if not loop.last %} {% if not loop.last %}
@ -30,7 +30,6 @@ No issues found.
{% endif %} {% endif %}
{% if not loop.last %} {% if not loop.last %}
--------8<--------8<--------8<--------8<-------- --------8<--------8<--------8<--------8<--------
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if stats %} {% if stats %}