<div>
<div class="title-block">
- <div class="title-page title-page-single">
+ <div i18n class="title-page title-page-single">
Comments
</div>
- <my-help
- *ngIf="video.commentsEnabled === true" helpType="custom" i18n-customHtml
- 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.displayName}}@{{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>
+
+ <my-feed [syndicationItems]="syndicationItems"></my-feed>
</div>
<ng-template [ngIf]="video.commentsEnabled === true">
<my-video-comment-add
- *ngIf="isUserLoggedIn()"
[video]="video"
[user]="user"
(commentCreated)="onCommentThreadCreated($event)"
<div
class="comment-threads"
myInfiniteScroller
- [autoLoading]="true"
+ [autoInit]="true"
(nearOfBottom)="onNearOfBottom()"
>
- <div *ngIf="highlightedThread" id="highlighted-comment">
+ <div #commentHighlightBlock id="highlighted-comment">
<my-video-comment
+ *ngIf="highlightedThread"
[comment]="highlightedThread"
[video]="video"
[inReplyToCommentId]="inReplyToCommentId"
<ng-container i18n>View all {{ comment.totalReplies }} replies</ng-container>
<span *ngIf="!threadLoading[comment.id]" class="glyphicon glyphicon-menu-down"></span>
- <my-loader class="comment-thread-loading" [loading]="threadLoading[comment.id]"></my-loader>
+ <my-small-loader class="comment-thread-loading" [loading]="threadLoading[comment.id]"></my-small-loader>
</div>
</div>
</div>