Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 19a40f0

Browse files
committed
Fixed html formatting in form
1 parent 5b5d254 commit 19a40f0

File tree

1 file changed

+22
-21
lines changed
  • scb-scanprocesses/archetype-process/src/main/resources/archetype-resources/src/main/resources/forms/default

1 file changed

+22
-21
lines changed

scb-scanprocesses/archetype-process/src/main/resources/archetype-resources/src/main/resources/forms/default/approve-results.html

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,30 +69,31 @@ <h2>scan results for "{{ target.name }}"</h2>
6969
<td>{{ result.name }}</td>
7070
<td>{{ result.category }}</td>
7171
<td>
72-
<div ng-switch on="result.severity"></div>
73-
<span class="label label-danger" ng-switch-when="HIGH">
74-
<i aria-hidden="true"
75-
class="glyphicon glyphicon-fire"></i>
76-
{{ result.severity }}
77-
</span>
72+
<div ng-switch on="result.severity">
73+
<span class="label label-danger" ng-switch-when="HIGH">
74+
<i aria-hidden="true"
75+
class="glyphicon glyphicon-fire"></i>
76+
{{ result.severity }}
77+
</span>
7878

79-
<span class="label label-warning" ng-switch-when="MEDIUM">
80-
<i aria-hidden="true"
81-
class="glyphicon glyphicon glyphicon-alert"></i>
82-
{{ result.severity }}
83-
</span>
79+
<span class="label label-warning" ng-switch-when="MEDIUM">
80+
<i aria-hidden="true"
81+
class="glyphicon glyphicon glyphicon-alert"></i>
82+
{{ result.severity }}
83+
</span>
8484

85-
<span class="label label-primary" ng-switch-when="LOW">
86-
<i aria-hidden="true"
87-
class="glyphicon glyphicon-warning-sign"></i>
88-
{{ result.severity }}
89-
</span>
85+
<span class="label label-primary" ng-switch-when="LOW">
86+
<i aria-hidden="true"
87+
class="glyphicon glyphicon-warning-sign"></i>
88+
{{ result.severity }}
89+
</span>
9090

91-
<span class="label label-default" ng-switch-default>
92-
<i aria-hidden="true"
93-
class="glyphicon glyphicon-education"></i>
94-
{{ result.severity }}
95-
</span>
91+
<span class="label label-default" ng-switch-default>
92+
<i aria-hidden="true"
93+
class="glyphicon glyphicon-education"></i>
94+
{{ result.severity }}
95+
</span>
96+
</div>
9697

9798
</td>
9899
<td> {{ result.reference.id }}

0 commit comments

Comments
 (0)