From cec49361999d24379780d5e48c1b85fcdd3123b0 Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Sun, 28 Feb 2021 10:28:43 +0100 Subject: [PATCH] exchange user icon --- .../shared/comment-list/comment-list.component.html | 2 +- src/app/components/shared/comment/comment.component.html | 2 +- .../question-wall/question-wall.component.html | 8 ++++---- .../questionwall/question-wall/question-wall.component.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html index e17991ebb..0476778ae 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -171,7 +171,7 @@ (focus)="hideCommentsList=true" (click)="filterComments(owner)" aria-labelledby="comment"> - <mat-icon [ngClass]="{owner: 'owner-icon'}[currentFilter]">person</mat-icon> + <mat-icon [ngClass]="{owner: 'owner-icon'}[currentFilter]">person_pin_circle</mat-icon> <span>{{ 'comment-list.filter-owner' | translate }}</span> </button> diff --git a/src/app/components/shared/comment/comment.component.html b/src/app/components/shared/comment/comment.component.html index 6c9556f8e..f7b776414 100644 --- a/src/app/components/shared/comment/comment.component.html +++ b/src/app/components/shared/comment/comment.component.html @@ -264,7 +264,7 @@ fxLayoutAlign="center center" matTooltip="{{ 'comment-page.user-number' | translate }}" (click)="this.clickedUserNumber.emit(comment.userNumber)"> - <mat-icon class="user-icon">person</mat-icon> + <mat-icon class="user-icon">person_pin_circle</mat-icon> <strong> {{comment.userNumber}} </strong> diff --git a/src/app/components/shared/questionwall/question-wall/question-wall.component.html b/src/app/components/shared/questionwall/question-wall/question-wall.component.html index 750761e2a..3a5f74f1f 100644 --- a/src/app/components/shared/questionwall/question-wall/question-wall.component.html +++ b/src/app/components/shared/questionwall/question-wall/question-wall.component.html @@ -62,7 +62,7 @@ <p>{{'question-wall.filter-tag' | translate}}</p> </button> <button ars-btn (click)="openUserMap()" matRipple aria-labelledby="user-lbl"> - <i>person</i> + <i>person_pin_circle</i> <p>{{'question-wall.filter-user'| translate}}</p> </button> </ars-col> @@ -77,7 +77,7 @@ <div class="questionwall-present-box-inner"> <ng-container *ngIf="commentFocus"> <ars-row class="questionwall-present-meta"> - <i class="questionwall-icon questionwall-present-meta-icon">person</i> + <i class="questionwall-icon questionwall-present-meta-icon">person_pin_circle</i> <h2 class="questionwall-present-meta-user">{{commentFocus.comment.userNumber}}</h2> <h2 class="questionwall-present-meta-timestamp">{{commentFocus.timeAgo}}</h2> </ars-row> @@ -176,7 +176,7 @@ (click)="focusComment(comment)" style="box-sizing:border-box;padding:16px;cursor:pointer"> <ars-col class="questionwall-comment-meta"> - <i class="questionwall-icon">person</i> + <i class="questionwall-icon">person_pin_circle</i> <p (click)="filterUser(comment);" class="questionwall-comment-user" matRipple>{{comment.comment.userNumber}}</p> <p class="questionwall-comment-timestamp">{{comment.timeAgo}}</p> </ars-col> @@ -225,7 +225,7 @@ </ars-col> <ars-col ars-btn-wrp [xp]="24" [extra]="true"> <button ars-btn class="pseudo-button"> - <i>person</i> + <i>person_pin_circle</i> <p>{{'question-wall.filter-user' | translate}}</p> </button> </ars-col> diff --git a/src/app/components/shared/questionwall/question-wall/question-wall.component.ts b/src/app/components/shared/questionwall/question-wall/question-wall.component.ts index 2b3c480eb..8f8b6a8c8 100644 --- a/src/app/components/shared/questionwall/question-wall/question-wall.component.ts +++ b/src/app/components/shared/questionwall/question-wall/question-wall.component.ts @@ -277,7 +277,7 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy { } filterUserByNumber(user: number) { - this.filter('person', false, 'question-wall.filter-user', user + '', + this.filter('person_pin_circle', false, 'question-wall.filter-user', user + '', x => x.comment.userNumber === user); } -- GitLab