From 7c16d0a753fe6fc920cb65258d93fe00c1e90918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Wed, 25 Sep 2019 15:09:20 +0200 Subject: [PATCH] Show voting-score moderators too --- src/app/components/shared/comment/comment.component.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/shared/comment/comment.component.html b/src/app/components/shared/comment/comment.component.html index 6062eb883..75b33584c 100644 --- a/src/app/components/shared/comment/comment.component.html +++ b/src/app/components/shared/comment/comment.component.html @@ -78,7 +78,7 @@ <mat-icon class="voting-icon" [ngClass]="{'downVoted' : hasVoted === -1}">keyboard_arrow_down</mat-icon> </button> </div> - <div *ngIf="isCreator" fxLayout="column" fxLayoutAlign="center"> + <div *ngIf="!isStudent" fxLayout="column" fxLayoutAlign="center"> <span class="scoreCreator">{{comment.score}}</span> </div> </div> @@ -98,6 +98,6 @@ </div> <div id="comment_delete{{ comment.id }}">{{'comment-page.a11y-comment_delete' | translate}}</div> <div id="comment_moderation{{ comment.id }}">{{'comment-page.a11y-comment_moderation' | translate}}</div> - <div *ngIf="isCreator" id="comment_vote_up{{ comment.id }}">{{'comment-page.a11y-comment_vote_up' | translate}}</div> - <div *ngIf="isCreator" id="comment_vote_down{{ comment.id }}">{{'comment-page.a11y-comment_vote_down' | translate}}</div> + <div *ngIf="isStudent" id="comment_vote_up{{ comment.id }}">{{'comment-page.a11y-comment_vote_up' | translate}}</div> + <div *ngIf="isStudent" id="comment_vote_down{{ comment.id }}">{{'comment-page.a11y-comment_vote_down' | translate}}</div> </div> -- GitLab