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 %} {% 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 %}