2 <div class=
"title-block">
3 <div i18n
class=
"title-page title-page-single">
7 *
ngIf=
"video.commentsEnabled === true" helpType=
"custom" i18n-customHtml
8 customHtml=
"You can either comment on the page of your instance where this video is federated with your PeerTube account, or via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type in the search box <strong>@{{video.account.name}}@{{video.account.host}}</strong> and find back the video. Direct commenting capabilities are being worked on in <a href='https://github.com/Chocobozzz/PeerTube/issues/224'>#224</a>."></my-help>
11 <ng-template [ngIf]=
"video.commentsEnabled === true">
13 *
ngIf=
"isUserLoggedIn()"
16 (commentCreated)=
"onCommentThreadCreated($event)"
17 ></my-video-comment-add>
19 <div *
ngIf=
"componentPagination.totalItems === 0 && comments.length === 0" i18n
>No comments.
</div>
22 class=
"comment-threads"
25 (nearOfBottom)=
"onNearOfBottom()"
27 <div #commentHighlightBlock
id=
"highlighted-comment">
29 *
ngIf=
"highlightedThread"
30 [comment]=
"highlightedThread"
32 [inReplyToCommentId]=
"inReplyToCommentId"
33 [commentTree]=
"threadComments[highlightedThread.id]"
34 [highlightedComment]=
"true"
35 (wantedToReply)=
"onWantedToReply($event)"
36 (wantedToDelete)=
"onWantedToDelete($event)"
37 (threadCreated)=
"onThreadCreated($event)"
38 (resetReply)=
"onResetReply()"
42 <div *
ngFor=
"let comment of comments">
44 *
ngIf=
"!highlightedThread || comment.id !== highlightedThread.id"
47 [inReplyToCommentId]=
"inReplyToCommentId"
48 [commentTree]=
"threadComments[comment.id]"
49 (wantedToReply)=
"onWantedToReply($event)"
50 (wantedToDelete)=
"onWantedToDelete($event)"
51 (threadCreated)=
"onThreadCreated($event)"
52 (resetReply)=
"onResetReply()"
55 <div *
ngIf=
"comment.totalReplies !== 0 && !threadComments[comment.id]" (click)=
"viewReplies(comment.id)" class=
"view-replies">
56 <ng-container i18n
>View all {{ comment.totalReplies }} replies
</ng-container>
58 <span *
ngIf=
"!threadLoading[comment.id]" class=
"glyphicon glyphicon-menu-down"></span>
59 <my-loader class=
"comment-thread-loading" [loading]=
"threadLoading[comment.id]"></my-loader>
65 <div *
ngIf=
"video.commentsEnabled === false" i18n
>
66 Comments are disabled.