Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Merge requests
!224
Allow lecturer to vote on comments
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Allow lecturer to vote on comments
allow-lecturer-vote
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Tom Käsler
requested to merge
allow-lecturer-vote
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
26ec2358
1 commit,
5 years ago
1 file
+
2
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/app/components/shared/comment/comment.component.html
+
2
−
2
Options
@@ -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>