Skip to content

Commit

Permalink
Add section around each issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyJiao committed Apr 8, 2019
1 parent d05acc6 commit 0ca08b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qark/templates/html_report.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
<body>
<h1>Issues</h1>
{% for issue in issues %}
<section class="{{ issue.name }}">
<h2>{{ issue.severity.name }} {{ issue.name }}</h2>
{{ issue.description }} <br/><br/>
File: <a href="file://{{ issue.file_object }}">{{ issue.file_object }}{% if issue.line_number %}:{{ issue.line_number[0] }}:{{ issue.line_number[1] }} {% endif %}</a><br/>
</section>
{% endfor %}
</body>
</html>
</html>

0 comments on commit 0ca08b6

Please sign in to comment.