Skip to content

Commit 3c9e7ff

Browse files
most recent note: show date/author (#12329)
* most recent note: show date/author * most recent note: show date/author
1 parent 499e4ee commit 3c9e7ff

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

dojo/templates/dojo/findings_list_snippet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ <h3 class="has-filters">
579579
{% if finding.notes.all %}
580580
<i class="glyphicon glyphicon-comment has-popover dojo-sup"
581581
data-trigger="hover"
582-
data-content="{{ finding.notes.all.0 }}"
582+
data-content="{{ finding.notes.all.0.author }} at {{ finding.notes.all.0.date }}: {{ finding.notes.all.0 }}"
583583
data-placement="left"
584584
data-container="body"
585585
data-original-title="Most Recent Note ({{ finding.notes.count }} total)"

dojo/templates/dojo/view_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ <h4 class="has-filters">
11781178
{% if finding.notes.all %}
11791179
<i class="glyphicon glyphicon-comment has-popover dojo-sup"
11801180
data-trigger="hover"
1181-
data-content="{{ finding.notes.all.0 }}"
1181+
data-content="{{ finding.notes.all.0.author }} at {{ finding.notes.all.0.date }}: {{ finding.notes.all.0 }}"
11821182
data-placement="left"
11831183
data-container="body"
11841184
data-original-title="Most Recent Note ({{ finding.notes.count }} total)"

tests/import_scanner_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# ruff: noqa: F821
21
import logging
32
import os
43
import re

0 commit comments

Comments
 (0)