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
!218
Resolve "Some bugs concerning the counting badge"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Some bugs concerning the counting badge"
258-some-bugs-concerning-the-counting-badge
into
master
Overview
1
Commits
2
Pipelines
1
Changes
3
Merged
Lukas Mauß
requested to merge
258-some-bugs-concerning-the-counting-badge
into
master
5 years ago
Overview
1
Commits
2
Pipelines
1
Changes
3
Expand
Closes
#258 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
67fc1ee7
2 commits,
5 years ago
3 files
+
17
−
4
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/app/components/shared/comment-list/comment-list.component.html
+
5
−
3
Options
@@ -13,8 +13,10 @@
<div
class=
"button-bar"
fxLayoutAlign=
"center center"
>
<div
*ngIf=
"comments && comments.length > 0"
>
<button
mat-mini-fab
color=
"primary"
class=
"comment-counter"
*ngIf=
"(!filteredComments) || (comments.length === filteredComments.length)"
>
{{comments.length}}
</button>
<button
mat-mini-fab
color=
"secondary"
class=
"comment-counter"
*ngIf=
"(filteredComments) && (comments.length > filteredComments.length)"
>
{{filteredComments.length}}
</button>
<mat-chip-list>
<mat-chip
class=
"counter"
*ngIf=
"comments && !hideCommentsList"
>
{{comments.length}}
</mat-chip>
<mat-chip
class=
"counter counter-filtered"
*ngIf=
"filteredComments && hideCommentsList"
>
{{filteredComments.length}}
</mat-chip>
</mat-chip-list>
</div>
<button
mat-icon-button
class=
"searchBarButton"
*ngIf=
"!searchBox.value && comments && comments.length > 0"
@@ -65,7 +67,7 @@
<mat-icon
[ngClass]=
"{unread: 'unread-icon'}[currentFilter]"
>
visibility_off
</mat-icon>
</button>
<button
mat-icon-button
(focus)=
"hideCommentsList=false"
(click)=
"sortComments(currentSort)"
>
<button
mat-icon-button
(focus)=
"hideCommentsList=false"
(click)=
"sortComments(currentSort)
; filterComments('')
"
>
<mat-icon>
close
</mat-icon>
</button>
</div>