client/src/app/+video-watch/shared/comment/video-comments.component.html
SORT BY Most recent first (default)Most replies first
@if (commentsEnabled) { @if (totalNotDeletedComments === 0 && comments.length === 0) { No comments. }
@if (highlightedThread) { } @for (comment of comments; track comment; let i = $index) { @if (!highlightedThread || comment.id !== highlightedThread.id) { @if (comment.totalReplies !== 0 && !threadComments[comment.id]) { @if (comment.totalRepliesFromVideoAuthor > 0) { @if (comment.totalReplies !== comment.totalRepliesFromVideoAuthor) { View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}} from {{ video()?.account?.displayName || 'the author' }} and others } @else { View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}} from {{ video()?.account?.displayName || 'the author' }} } } @else { View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}} } } } } } @else { Comments are disabled. }