@@ -437,7 +437,7 @@ <h4> Risk Acceptance
437
437
Never
438
438
{% endif %}
439
439
</ td >
440
- < td > {{ risk_acceptance.accepted_findings_count }}</ td >
440
+ < td > < a href =" {% url 'view_risk_acceptance' eng.id risk_acceptance.id %} " > {{ risk_acceptance.accepted_findings_count }}</ a > </ td >
441
441
{% if risk_acceptance.filename %}
442
442
< td > < a href ="{% url 'download_risk_acceptance' eng.id risk_acceptance.id %} "> Yes</ a >
443
443
< i style ="position:absolute; " class ="fa has-popover fa-info-circle " title ="Uploaded proof " data-trigger ="hover " data-placement ="bottom " data-container ="body " data-html ="true "
@@ -717,7 +717,7 @@ <h4>Files<span class="pull-right">
717
717
< div class ="col-md-4 ">
718
718
< div class ="panel panel-default-secondary ">
719
719
< div class ="panel-heading ">
720
- < h3 class ="panel-title "> < span class ="fa-solid fa-circle-info fa-fw " aria-hidden ="true "> </ span >
720
+ < h3 class ="panel-title "> < span class ="fa-solid fa-circle-info fa-fw " aria-hidden ="true "> </ span >
721
721
{% if eng.name %}
722
722
{{ eng.name }}
723
723
{% else %}
@@ -1040,25 +1040,25 @@ <h4><span class="fa-solid fa-key" aria-hidden="true"></span>
1040
1040
$ ( document ) . on ( 'keypress' , null , 'e' , function ( ) {
1041
1041
window . location . assign ( '{% url ' edit_engagement ' eng.id %}' ) ;
1042
1042
} ) ;
1043
-
1043
+
1044
1044
$ ( document ) . on ( 'keypress' , null , 'a' , function ( ) {
1045
1045
window . location . assign ( '{% url ' add_tests ' eng.id %}' ) ;
1046
1046
} ) ;
1047
-
1047
+
1048
1048
$ ( document ) . on ( 'keypress' , null , 'i' , function ( ) {
1049
1049
window . location . assign ( '{% url ' import_scan_results ' eng.id %}' ) ;
1050
1050
} ) ;
1051
-
1051
+
1052
1052
$ ( "a[data-toggle='collapse']" ) . on ( 'click' , function ( ) {
1053
1053
var i = $ ( $ ( this ) . find ( 'i' ) . get ( 0 ) ) ;
1054
1054
i . toggleClass ( 'glyphicon-chevron-up' ) . toggleClass ( 'glyphicon-chevron-down' ) ;
1055
1055
} ) ;
1056
-
1056
+
1057
1057
//Ensures dropdown has proper zindex
1058
1058
$ ( '.table-responsive' ) . on ( 'show.bs.dropdown' , function ( ) {
1059
1059
$ ( '.table-responsive' ) . css ( "overflow" , "inherit" ) ;
1060
1060
} ) ;
1061
-
1061
+
1062
1062
$ ( '.table-responsive' ) . on ( 'hide.bs.dropdown' , function ( ) {
1063
1063
$ ( '.table-responsive' ) . css ( "overflow" , "auto" ) ;
1064
1064
} )
@@ -1067,15 +1067,15 @@ <h4><span class="fa-solid fa-key" aria-hidden="true"></span>
1067
1067
var terms = '' ;
1068
1068
if ( $ . cookie ( 'highlight' ) ) {
1069
1069
terms = $ . cookie ( 'highlight' ) . split ( ' ' ) ;
1070
-
1070
+
1071
1071
for ( var i = 0 ; i < terms . length ; i ++ ) {
1072
1072
$ ( 'body' ) . highlight ( terms [ i ] ) ;
1073
1073
}
1074
1074
}
1075
-
1075
+
1076
1076
$ ( 'input#simple_search' ) . val ( terms ) ;
1077
1077
}
1078
-
1078
+
1079
1079
$ ( '#shareQuestionnaireModal' ) . on ( 'show.bs.modal' , function ( event ) {
1080
1080
var button = $ ( event . relatedTarget ) // Button that triggered the modal
1081
1081
var path = button . data ( 'whatever' ) // Extract info from data-* attributes
@@ -1088,8 +1088,8 @@ <h4><span class="fa-solid fa-key" aria-hidden="true"></span>
1088
1088
modal . find ( 'p#questionnaireURL' ) . text ( 'Questionnaire URL: ' + host + path )
1089
1089
} )
1090
1090
} ) ;
1091
-
1091
+
1092
1092
{ % include 'dojo/snippets/risk_acceptance_actions_snippet_js.html' % }
1093
-
1093
+
1094
1094
</ script >
1095
1095
{% endblock %}
0 commit comments