From 86d9f156799dd31c6ea723e4f7152c9480f4d60c Mon Sep 17 00:00:00 2001 From: _Bastler Date: Wed, 6 Oct 2021 13:30:17 +0200 Subject: [PATCH] users subcomments --- src/app/pages/user/usercomments/usercomments.page.html | 2 +- src/app/ui/comment/comment.ui.html | 2 ++ src/app/ui/comment/comment.ui.ts | 1 + src/app/ui/comments/comments.ui.html | 2 +- src/app/ui/comments/comments.ui.ts | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/pages/user/usercomments/usercomments.page.html b/src/app/pages/user/usercomments/usercomments.page.html index 0d4aea9..27ec33d 100644 --- a/src/app/pages/user/usercomments/usercomments.page.html +++ b/src/app/pages/user/usercomments/usercomments.page.html @@ -6,7 +6,7 @@

{{'user.commentsBy' | i18n}}{{username}}

- + diff --git a/src/app/ui/comment/comment.ui.html b/src/app/ui/comment/comment.ui.html index fb09885..ed5e3f8 100644 --- a/src/app/ui/comment/comment.ui.html +++ b/src/app/ui/comment/comment.ui.html @@ -20,6 +20,8 @@ | datef}} {{'comment.author' | i18n}}{{comment.author}} + {{'comment.to' | i18n}} {{'comment' | i18n}} {{'comment.on' | i18n}} {{comment.metadata.entry || 'entry'}} | diff --git a/src/app/ui/comment/comment.ui.ts b/src/app/ui/comment/comment.ui.ts index 3d6ff9f..e332968 100644 --- a/src/app/ui/comment/comment.ui.ts +++ b/src/app/ui/comment/comment.ui.ts @@ -20,6 +20,7 @@ export class UiComment implements OnInit { @Input() change: Function; @Input() ignore: string[] = []; @Input() subcomments: boolean = false; + @Input() parentLink: boolean = false; @ViewChild('subcomments') comments: UiComments; constructor(private authService: AuthService, private commentService: CommentService, private voteService: VoteService, diff --git a/src/app/ui/comments/comments.ui.html b/src/app/ui/comments/comments.ui.html index 0b8ebc0..f5a613a 100644 --- a/src/app/ui/comments/comments.ui.html +++ b/src/app/ui/comments/comments.ui.html @@ -3,7 +3,7 @@
- + diff --git a/src/app/ui/comments/comments.ui.ts b/src/app/ui/comments/comments.ui.ts index f94fe70..19304ce 100644 --- a/src/app/ui/comments/comments.ui.ts +++ b/src/app/ui/comments/comments.ui.ts @@ -15,6 +15,7 @@ export class UiComments implements OnInit { @Input() parent: number; @Input() ignore: string[] = []; @Input() subcomments: boolean = false; + @Input() parentLink: boolean = false; boundRefresh: Function; constructor(private commentService: CommentService) { }