Skip to content
Snippets Groups Projects
Commit 930a8aa3 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Merge branch 'allow-lecturer-vote' into 'master'

Allow lecturer to vote on comments

See merge request arsnova/arsnova-lite!224
parents 45477124 26ec2358
No related merge requests found
......@@ -30,11 +30,11 @@
<span class="fill-remaining-space" (click)="openPresentDialog(comment)"></span>
<div fxLayout="column" (tap)="startAnimation('rubberBand')" [@rubberBand]="animationState"
(@rubberBand.done)="resetAnimationState()">
<button mat-icon-button [disabled]="!isStudent" (click)="voteUp(comment)">
<button mat-icon-button (click)="voteUp(comment)">
<mat-icon class="voting-icon" [ngClass]="{'upVoted' : hasVoted === 1}">keyboard_arrow_up</mat-icon>
</button>
<h2>{{comment.score}}</h2>
<button mat-icon-button [disabled]="!isStudent" (click)="voteDown(comment)">
<button mat-icon-button (click)="voteDown(comment)">
<mat-icon class="voting-icon" [ngClass]="{'downVoted' : hasVoted === -1}">keyboard_arrow_down</mat-icon>
</button>
</div>
......
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