Skip to content

Commit e172143

Browse files
Show unique id from tool together with hash_code in title elements (#13460)
* view_finding: show unique_id_from_tool with hash_code * view_finding: show unique_id_from_tool with hash_code
1 parent 032d779 commit e172143

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dojo/templates/dojo/findings_list_snippet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ <h3 class="has-filters">
664664
title="Test: {{ finding.test }}">{{ finding.test.test_type }}</a>
665665
{% endif %}
666666
</td>
667-
<td class="nowrap">
667+
<td class="nowrap" title="unique_id_from_tool: {{ finding.unique_id_from_tool }}, hash_code: {{ finding.hash_code }}">
668668
{{ finding|finding_display_status|safe }}&nbsp;{{ finding|import_history }}
669669
</td>
670670
{% if system_settings.enable_jira %}

dojo/templates/dojo/view_finding.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ <h3 class="pull-left finding-title">
285285
</tr>
286286
<tr>
287287
{% block header_body %}
288-
<td title="hash_code: {{ finding.hash_code }}">{{ finding.id }}</td>
288+
<td title="unique_id_from_tool: {{ finding.unique_id_from_tool }}, hash_code: {{ finding.hash_code }}">{{ finding.id }}</td>
289289
<td>
290290
<span class="label severity severity-{{ finding.severity }}">
291291
{% if finding.severity %}
@@ -1209,7 +1209,7 @@ <h4>Credential
12091209
var i = $($(this).find('i').get(0));
12101210
i.toggleClass('glyphicon-chevron-up').toggleClass('glyphicon-chevron-down');
12111211
})
1212-
1212+
12131213
// Configure tooltips for CVSS vectors - try multiple approaches
12141214
$(document).on('shown.bs.tooltip shown.bs.popover', function() {
12151215
$('.tooltip-inner, .popover-content').css({
@@ -1221,7 +1221,7 @@ <h4>Credential
12211221
'max-width': '1200px !important'
12221222
});
12231223
});
1224-
1224+
12251225
// Force tooltip configuration
12261226
$('.has-popover').each(function() {
12271227
$(this).on('mouseenter', function() {

dojo/templates/dojo/view_test.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h3 class="pull-left">
3636
id="dropdownMenu1"
3737
data-toggle="dropdown"
3838
aria-expanded="true"
39-
aria-label="Test options"
39+
aria-label="Test options"
4040
>
4141
<span class="fa-solid fa-bars"></span>
4242
<span class="caret"></span>
@@ -697,7 +697,7 @@ <h4 class="has-filters">
697697
<input id="id_bulk_planned_remediation_version"
698698
name="planned_remediation_version"
699699
style="font-size: 100%; border: 1px solid #ccc;"/>
700-
<br/>
700+
<br/>
701701
<label>
702702
<b>{% trans "Status" %}</b>
703703
<input id="id_bulk_status"
@@ -1238,7 +1238,7 @@ <h4 class="has-filters">
12381238
{{ finding.reporter }}
12391239
{% endif %}
12401240
</td>
1241-
<td class="nowrap">
1241+
<td class="nowrap" title="unique_id_from_tool: {{ finding.unique_id_from_tool }}, hash_code: {{ finding.hash_code }}">
12421242
{{ finding|finding_display_status|safe }}&nbsp;{{ finding|import_history }}
12431243
</td>
12441244
{% if system_settings.enable_jira %}

0 commit comments

Comments
 (0)