Skip to content

Commit

Permalink
Merge pull request primefaces#341 from atretyak1985/issue_#NNTR-265
Browse files Browse the repository at this point in the history
[NNTR-265]Remove color coding of compliance framework score on Configurations a…
  • Loading branch information
Gunnsteinn Hall authored Dec 9, 2019
2 parents eca9bcd + f35e1a4 commit 4de3815
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1 class="panel-title flex-container-row flex-justify-sb flex-align-bl">
<th><strong>Baseline<br/>Score</strong>Average</th>
<ng-container *ngIf="frameworkName !== ''">
<th><strong>{{ frameworkName }}<br/>Rules</strong>Count</th>
<th><strong>{{ frameworkName }}<br/>Score</strong>Average</th>
<th><strong>{{ frameworkName }}<br/>Score</strong>Weighted</th>
</ng-container>
<ng-container *ngIf="frameworkName === ''">
<th><strong>Benchmark <br />Rules</strong> Count</th>
Expand Down Expand Up @@ -123,11 +123,7 @@ <h1 class="panel-title flex-container-row flex-justify-sb flex-align-bl">
<ng-container *ngIf="frameworkName !== ''">
<td>{{ item.framework_num_rules|mynumber }}</td>
<td>
<span *ngIf="item.framework_score !== 0" class="label" style="color:white;"
[attr.test]="item.framework_score"
[class.label-danger]="stringUtils.scoreColorState('fail', item.framework_score)"
[class.label-warning]="stringUtils.scoreColorState('warning', item.framework_score)"
[class.label-success]="stringUtils.scoreColorState('success', item.framework_score)">
<span *ngIf="item.framework_score !== 0" [attr.test]="item.framework_score">
{{ item.framework_score|mypercent }}
</span>
</td>
Expand Down

0 comments on commit 4de3815

Please sign in to comment.