From 1b36d0ee07b4c9711a5c20249ab99ac741f4de04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de>
Date: Tue, 20 Aug 2019 12:33:27 +0200
Subject: [PATCH] Change order of comment flags

---
 .../components/shared/comment/comment.component.html   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/app/components/shared/comment/comment.component.html b/src/app/components/shared/comment/comment.component.html
index 633595ebd..5346e7197 100644
--- a/src/app/components/shared/comment/comment.component.html
+++ b/src/app/components/shared/comment/comment.component.html
@@ -11,11 +11,6 @@
         </ng-template>
       </div>
       <span class="fill-remaining-space"></span>
-      <button mat-icon-button *ngIf="comment.read" [disabled]="true" (click)="setRead(comment)">
-        <mat-icon [ngClass]="{'read-icon': comment.read, 'not-marked' : !comment.read}"
-                  matTooltip="{{ 'comment-page.mark-read' | translate }}">speaker_notes
-        </mat-icon>
-      </button>
       <button mat-icon-button *ngIf="!isStudent || comment.correct === 2" [disabled]="isStudent"
               (click)="markCorrect(comment, 2)">
         <mat-icon [ngClass]="{'wrong-icon' : comment.correct === 2,
@@ -39,6 +34,11 @@
                                                  : ('comment-page.mark-not-favorite' | translate)">grade
         </mat-icon>
       </button>
+      <button mat-icon-button *ngIf="comment.read" [disabled]="true" (click)="setRead(comment)">
+        <mat-icon [ngClass]="{'read-icon': comment.read, 'not-marked' : !comment.read}"
+                  matTooltip="{{ 'comment-page.mark-read' | translate }}">speaker_notes
+        </mat-icon>
+      </button>
       <button mat-icon-button *ngIf="!isStudent" (click)="openDeleteCommentDialog()">
         <mat-icon class="not-marked" matTooltip="{{ 'comment-page.delete' | translate }}">delete
         </mat-icon>
-- 
GitLab