Minor templates improvements (#54)

pull/8/merge
Andrew Krasichkov 2017-05-19 19:50:53 +03:00 committed by GitHub
parent 183aae602b
commit 6f360bc16d
2 changed files with 10 additions and 12 deletions

View File

@ -9,17 +9,17 @@ No issues found.
{% else %}
{% 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 %}
Description: {{ issue.description }}
Description: {{ issue.description }}
{% endif %}
{% if issue.help_url %}
Additional info: {{ issue.help_url }}
Additional info: {{ issue.help_url }}
{% endif %}
{% if issue.reason %}
Reason: {{ issue.reason }}
Reason: {{ issue.reason }}
{% endif %}
Pseudo config:{{ colors.DEF }}
Pseudo config:
{{ issue.config }}
{% if not loop.last %}
@ -30,7 +30,6 @@ No issues found.
{% endif %}
{% if not loop.last %}
--------8<--------8<--------8<--------8<--------
{% endif %}
{% endfor %}
{% if stats %}

View File

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