2 <my-global-icon iconName=
"message-circle" aria-hidden=
"true"></my-global-icon>
3 <ng-container i18n
>Video comments
</ng-container>
5 <my-feed [syndicationItems]=
"syndicationItems"></my-feed>
8 <em>This view also shows comments from muted accounts.
</em>
11 [value]=
"comments" [lazy]=
"true" [paginator]=
"totalRecords > 0" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage" [rowsPerPageOptions]=
"rowsPerPageOptions"
12 [sortField]=
"sort.field" [sortOrder]=
"sort.order" (onLazyLoad)=
"loadLazy($event)" dataKey=
"id"
13 [showCurrentPageReport]=
"true" i18n-currentPageReportTemplate
14 currentPageReportTemplate=
"Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} comments"
15 (onPage)=
"onPage($event)" [expandedRowKeys]=
"expandedRows"
16 [(selection)]=
"selectedComments"
18 <ng-template pTemplate=
"caption">
22 *
ngIf=
"isInSelectionMode()" i18n-label
label=
"Batch actions" theme=
"orange"
23 [actions]=
"bulkCommentActions" [entry]=
"selectedComments"
29 <div class=
"input-group has-feedback has-clear">
30 <div class=
"input-group-prepend c-hand" ngbDropdown
placement=
"bottom-left auto" container=
"body">
31 <div class=
"input-group-text" ngbDropdownToggle
>
32 <span class=
"caret" aria-haspopup=
"menu" role=
"button"></span>
35 <div role=
"menu" ngbDropdownMenu
>
36 <h6 class=
"dropdown-header" i18n
>Advanced comments filters
</h6>
37 <a [routerLink]=
"[ '/admin/moderation/video-comments/list' ]" [queryParams]=
"{ 'search': 'local:true' }" class=
"dropdown-item" i18n
>Local comments
</a>
38 <a [routerLink]=
"[ '/admin/moderation/video-comments/list' ]" [queryParams]=
"{ 'search': 'local:false' }" class=
"dropdown-item" i18n
>Remote comments
</a>
42 type=
"text" name=
"table-filter" id=
"table-filter" i18n-placeholder
placeholder=
"Filter..."
43 (keyup)=
"onSearch($event)"
45 <a class=
"glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)=
"resetTableFilter()"></a>
46 <span class=
"sr-only" i18n
>Clear filters
</span>
52 <ng-template pTemplate=
"header">
54 <th style=
"width: 40px">
55 <p-tableHeaderCheckbox></p-tableHeaderCheckbox>
57 <th style=
"width: 40px"></th>
58 <th style=
"width: 150px;"></th>
59 <th style=
"width: 300px" i18n
>Account
</th>
60 <th style=
"width: 300px" i18n
>Video
</th>
62 <th style=
"width: 150px;" i18n
pSortableColumn=
"createdAt">Date
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
66 <ng-template pTemplate=
"body" let-videoComment
let-expanded=
"expanded">
67 <tr [pSelectableRow]=
"videoComment">
69 <td class=
"checkbox-cell">
70 <p-tableCheckbox [value]=
"videoComment"></p-tableCheckbox>
73 <td class=
"expand-cell c-hand" [pRowToggler]=
"videoComment" i18n-ngbTooltip
ngbTooltip=
"More information" placement=
"top-left" container=
"body">
74 <span class=
"expander">
75 <i [ngClass]=
"expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
79 <td class=
"action-cell">
81 [ngClass]=
"{ 'show': expanded }" placement=
"bottom-right" container=
"body"
82 i18n-label
label=
"Actions" [actions]=
"videoCommentActions" [entry]=
"videoComment"
83 ></my-action-dropdown>
87 <a [href]=
"videoComment.account.localUrl" i18n-title
title=
"Open account in a new tab" target=
"_blank" rel=
"noopener noreferrer">
88 <div class=
"chip two-lines">
91 [src]=
"videoComment.accountAvatarUrl"
95 {{ videoComment.account.displayName }}
96 <span>{{ videoComment.by }}
</span>
103 <em i18n
>Commented video
</em>
105 <a [href]=
"videoComment.localUrl" target=
"_blank" rel=
"noopener noreferrer">{{ videoComment.video.name }}
</a>
108 <td class=
"comment-html c-hand" [pRowToggler]=
"videoComment">
109 <div [innerHTML]=
"videoComment.textHtml"></div>
112 <td class=
"c-hand" [pRowToggler]=
"videoComment">{{ videoComment.createdAt | date: 'short' }}
</td>
116 <ng-template pTemplate=
"rowexpansion" let-videoComment
>
118 <td class=
"expand-cell" colspan=
"5">
119 <div [innerHTML]=
"videoComment.textHtml"></div>
124 <ng-template pTemplate=
"emptymessage">
127 <div class=
"no-results">
128 <ng-container *
ngIf=
"search" i18n
>No comments found matching current filters.
</ng-container>
129 <ng-container *
ngIf=
"!search" i18n
>No comments found.
</ng-container>