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
!207
Refactor comment list
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor comment list
refactor-comment-list
into
master
Overview
2
Commits
3
Pipelines
2
Changes
6
Merged
Lukas Mauß
requested to merge
refactor-comment-list
into
master
5 years ago
Overview
2
Commits
3
Pipelines
2
Changes
6
Expand
Closes
#253 (closed)
0
0
Merge request reports
Compare
master
version 1
be77fcfc
5 years ago
master (base)
and
latest version
latest version
7bc4d26e
3 commits,
5 years ago
version 1
be77fcfc
3 commits,
5 years ago
6 files
+
63
−
112
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/app/components/shared/comment/comment.component.html
+
3
−
3
Options
@@ -13,15 +13,15 @@
</div>
<button
mat-icon-button
[disabled]=
"isStudent"
(click)=
"setCorrect(comment)"
matTooltip=
"{{ 'comment-page.correct' | translate }}"
>
<mat-icon
[ngClass]=
"{
true :
'correct-icon'
, false:
'not-marked'
}[
comment.correct
]
"
>
check_circle
</mat-icon>
<mat-icon
[ngClass]=
"{'correct-icon'
: comment.correct,
'not-marked'
: !
comment.correct
}
"
>
check_circle
</mat-icon>
</button>
<button
mat-icon-button
[disabled]=
"isStudent"
(click)=
"setFavorite(comment)"
matTooltip=
"{{ 'comment-page.favorite' | translate }}"
>
<mat-icon
[ngClass]=
"{
true:
'favorite-icon'
, false:
'not-marked'
}[
comment.favorite
]
"
>
favorite
</mat-icon>
<mat-icon
[ngClass]=
"{'favorite-icon'
: comment.favorite,
'not-marked'
: !
comment.favorite
}
"
>
favorite
</mat-icon>
</button>
<button
mat-icon-button
[disabled]=
"isStudent"
(click)=
"setRead(comment)"
matTooltip=
"{{ 'comment-page.read' | translate }}"
>
<mat-icon
class=
"icon"
[ngClass]=
"{'read-icon': comment.read, 'not-marked' : !comment.read}"
>
visibility
<mat-icon
[ngClass]=
"{'read-icon': comment.read, 'not-marked' : !comment.read}"
>
visibility
</mat-icon>
</button>
</div>