Skip to content
Snippets Groups Projects
Commit 46c308d4 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

better icons for yes and nor

parent 1f19c5f0
No related merge requests found
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<mat-icon [ngClass]="{'correct-icon' : comment.correct === 1, <mat-icon [ngClass]="{'correct-icon' : comment.correct === 1,
'not-marked' : (comment.correct === 0 || comment.correct === 2)}" 'not-marked' : (comment.correct === 0 || comment.correct === 2)}"
[matTooltip]="comment.correct !== 1 ? ('comment-page.mark-correct' | translate) [matTooltip]="comment.correct !== 1 ? ('comment-page.mark-correct' | translate)
: ('comment-page.mark-not-correct' | translate)">check_circle : ('comment-page.mark-not-correct' | translate)">done
</mat-icon> </mat-icon>
</button> </button>
<button mat-icon-button <button mat-icon-button
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<mat-icon [ngClass]="{'wrong-icon' : comment.correct === 2, <mat-icon [ngClass]="{'wrong-icon' : comment.correct === 2,
'not-marked' : (comment.correct === 0 || comment.correct === 1)}" 'not-marked' : (comment.correct === 0 || comment.correct === 1)}"
[matTooltip]="comment.correct != 2 ? ('comment-page.mark-wrong' | translate) [matTooltip]="comment.correct != 2 ? ('comment-page.mark-wrong' | translate)
: ('comment-page.mark-not-wrong' | translate)">cancel : ('comment-page.mark-not-wrong' | translate)">clear
</mat-icon> </mat-icon>
</button> </button>
<button mat-icon-button <button mat-icon-button
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
> >
<mat-icon [ngClass]="{'correct-icon' : comment.correct === 1, <mat-icon [ngClass]="{'correct-icon' : comment.correct === 1,
'not-marked' : (comment.correct === 0 || comment.correct === 2)}"> 'not-marked' : (comment.correct === 0 || comment.correct === 2)}">
check_circle done
</mat-icon> </mat-icon>
<span> <span>
{{ {{
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
> >
<mat-icon [ngClass]="{'wrong-icon' : comment.correct === 2, <mat-icon [ngClass]="{'wrong-icon' : comment.correct === 2,
'not-marked' : (comment.correct === 0 || comment.correct === 1)}"> 'not-marked' : (comment.correct === 0 || comment.correct === 1)}">
cancel clear
</mat-icon> </mat-icon>
<span> <span>
{{ {{
......
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
<span>{{'question-wall.filter-favorite' | translate}}</span> <span>{{'question-wall.filter-favorite' | translate}}</span>
</button> </button>
<button mat-menu-item (click)="filterApproved()" aria-labelledby="filter-lbl-approved"> <button mat-menu-item (click)="filterApproved()" aria-labelledby="filter-lbl-approved">
<mat-icon>check_circle</mat-icon> <mat-icon>done</mat-icon>
<span>{{'question-wall.filter-approved' | translate}}</span> <span>{{'question-wall.filter-approved' | translate}}</span>
</button> </button>
<button mat-menu-item (click)="filterDisapproved()" aria-labelledby="filter-lbl-disapproved"> <button mat-menu-item (click)="filterDisapproved()" aria-labelledby="filter-lbl-disapproved">
<mat-icon>cancel</mat-icon> <mat-icon>clear</mat-icon>
<span>{{'question-wall.filter-disapproved' | translate}}</span> <span>{{'question-wall.filter-disapproved' | translate}}</span>
</button> </button>
</mat-menu> </mat-menu>
......
...@@ -282,7 +282,7 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy { ...@@ -282,7 +282,7 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy {
} }
filterApproved() { filterApproved() {
this.filter('check_circle', false, 'question-wall.filter-approved', '', this.filter('done', false, 'question-wall.filter-approved', '',
x => x.comment.correct === CorrectWrong.CORRECT); x => x.comment.correct === CorrectWrong.CORRECT);
} }
......
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
"live-announcer": "You are now on the questions page. To get information about key combinations press the Enter key or call the announcement later with the Escape key.", "live-announcer": "You are now on the questions page. To get information about key combinations press the Enter key or call the announcement later with the Escape key.",
"mark-not-correct": "Marked as correct or done", "mark-not-correct": "Marked as correct or done",
"mark-not-favorite": "Marked as particularly interesting", "mark-not-favorite": "Marked as particularly interesting",
"mark-not-bookmark": "Bookmark",
"mark-not-wrong": "Marked as wrong or critical", "mark-not-wrong": "Marked as wrong or critical",
"mark-read": "Already discussed by the presenter", "mark-read": "Already discussed by the presenter",
"new-comment": "A new question with the content, {{ comment }}, has been asked.", "new-comment": "A new question with the content, {{ comment }}, has been asked.",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment