2 <div class=
"title-page title-page-single">
6 <ng-template [ngIf]=
"video.commentsEnabled === true">
8 *
ngIf=
"isUserLoggedIn()"
11 (commentCreated)=
"onCommentThreadCreated($event)"
12 ></my-video-comment-add>
14 <div *
ngIf=
"componentPagination.totalItems === 0 && comments.length === 0">No comments.
</div>
17 class=
"comment-threads"
20 (nearOfBottom)=
"onNearOfBottom()"
22 <div *
ngIf=
"highlightedThread" id=
"highlighted-comment">
24 [comment]=
"highlightedThread"
26 [inReplyToCommentId]=
"inReplyToCommentId"
27 [commentTree]=
"threadComments[highlightedThread.id]"
28 [highlightedComment]=
"true"
29 (wantedToReply)=
"onWantedToReply($event)"
30 (wantedToDelete)=
"onWantedToDelete($event)"
31 (threadCreated)=
"onThreadCreated($event)"
32 (resetReply)=
"onResetReply()"
36 <div *
ngFor=
"let comment of comments">
38 *
ngIf=
"!highlightedThread || comment.id !== highlightedThread.id"
41 [inReplyToCommentId]=
"inReplyToCommentId"
42 [commentTree]=
"threadComments[comment.id]"
43 (wantedToReply)=
"onWantedToReply($event)"
44 (wantedToDelete)=
"onWantedToDelete($event)"
45 (threadCreated)=
"onThreadCreated($event)"
46 (resetReply)=
"onResetReply()"
49 <div *
ngIf=
"comment.totalReplies !== 0 && !threadComments[comment.id]" (click)=
"viewReplies(comment.id)" class=
"view-replies">
50 View all {{ comment.totalReplies }} replies
52 <span *
ngIf=
"!threadLoading[comment.id]" class=
"glyphicon glyphicon-menu-down"></span>
53 <my-loader class=
"comment-thread-loading" [loading]=
"threadLoading[comment.id]"></my-loader>
59 <div *
ngIf=
"video.commentsEnabled === false">
60 Comments are disabled.