Skip to content
Snippets Groups Projects

Resolve "Refine answer statistics"

Merged Lukas Mauß requested to merge 185-refine-answer-statistics into master
Viewing commit 4b297373
Show latest version
6 files
+ 14
7
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -27,7 +27,7 @@
@@ -27,7 +27,7 @@
</ng-container>
</ng-container>
<ng-container matColumnDef="counts">
<ng-container matColumnDef="counts">
<mat-header-cell *matHeaderCellDef> {{'statistic.total' | translate}} </mat-header-cell>
<mat-header-cell *matHeaderCellDef> {{'statistic.answers' | translate}} </mat-header-cell>
<mat-cell *matCellDef="let cp" [ngClass]="{
<mat-cell *matCellDef="let cp" [ngClass]="{
'positiveC' : cp.percent >= status.good,
'positiveC' : cp.percent >= status.good,
'okayC' : cp.percent >= status.okay && cp.percent < status.good,
'okayC' : cp.percent >= status.okay && cp.percent < status.good,