diff --git a/src/app/components/shared/list-statistic/list-statistic.component.html b/src/app/components/shared/list-statistic/list-statistic.component.html index 6bc7bbb35014313cc4351d488be3f779ef6efd54..65fb3bca8ad3057038491d08a0b8b31d737c6418 100644 --- a/src/app/components/shared/list-statistic/list-statistic.component.html +++ b/src/app/components/shared/list-statistic/list-statistic.component.html @@ -27,7 +27,7 @@ </ng-container> <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]="{ 'positiveC' : cp.percent >= status.good, 'okayC' : cp.percent >= status.okay && cp.percent < status.good, diff --git a/src/app/components/shared/list-statistic/list-statistic.component.scss b/src/app/components/shared/list-statistic/list-statistic.component.scss index 4eb3b9569dc9022b60d757f5b555bf32f2bad35c..a6b18fc70221da591eddb07b1c5a13acdb71b79c 100644 --- a/src/app/components/shared/list-statistic/list-statistic.component.scss +++ b/src/app/components/shared/list-statistic/list-statistic.component.scss @@ -2,14 +2,21 @@ table{ width: 100%; } +.mat-column-content { + min-width: 120px; + padding-left: 4%; +} + .mat-column-percentage { display: flex; - justify-content: flex-end; + justify-content: center; + padding-right: 4%; } .mat-column-counts { display: flex; - justify-content: flex-end; + justify-content: center; + text-align: center!important; } .mat-column-abstentions { diff --git a/src/app/components/shared/list-statistic/list-statistic.component.ts b/src/app/components/shared/list-statistic/list-statistic.component.ts index 50b29f527e3b346f72b5ff359fe60ebc45e2429c..68a2344b24951964f9f5c647edc559bef2046d09 100644 --- a/src/app/components/shared/list-statistic/list-statistic.component.ts +++ b/src/app/components/shared/list-statistic/list-statistic.component.ts @@ -37,7 +37,7 @@ export class ListStatisticComponent implements OnInit { @Input() contentGroup: ContentGroup; contents: Content[] = []; - displayedColumns = ['content', 'counts', 'abstentions', 'percentage']; + displayedColumns = ['content', 'counts', 'percentage']; status = { good: 85 , okay: 50 , diff --git a/src/assets/i18n/creator/de.json b/src/assets/i18n/creator/de.json index d068d2e1958b32642a3bffc0bf1a1e96def05fc5..0bf2a00e0e89284c3b8fd780618d5ca9f8adbe6f 100644 --- a/src/assets/i18n/creator/de.json +++ b/src/assets/i18n/creator/de.json @@ -67,7 +67,7 @@ "statistic": { "content": "Frage", "learning-status": "Lernstand", - "total": "Total", + "answrs": "Antworten", "percentage": "Prozent", "abstentions": "Enthaltungen" } diff --git a/src/assets/i18n/participant/de.json b/src/assets/i18n/participant/de.json index 586747705b5f9b49495791af8eb39b537a4a9ade..51b8e72be48f8b583968af1e693dc50b3a6c9cae 100644 --- a/src/assets/i18n/participant/de.json +++ b/src/assets/i18n/participant/de.json @@ -32,7 +32,7 @@ "statistic": { "content": "Frage", "learning-status": "Lernstand", - "total": "Total", + "answers": "Antworten", "percentage": "Prozent", "abstentions": "Enthaltungen" } diff --git a/src/assets/i18n/participant/en.json b/src/assets/i18n/participant/en.json index fae2f848b46f21129afff61795c0ac1944eb80ef..c26b2852c382e6de757ae8734c6dfb0cbeedf91e 100644 --- a/src/assets/i18n/participant/en.json +++ b/src/assets/i18n/participant/en.json @@ -32,7 +32,7 @@ "statistic": { "content": "Content", "learning-status": "Learning status", - "total": "Total", + "answrs": "Answers", "percentage": "Percentage", "abstentions": "Abstentions" }