2 [value]=
"blockedServers" [lazy]=
"true" [paginator]=
"true" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage"
3 [sortField]=
"sort.field" [sortOrder]=
"sort.order" (onLazyLoad)=
"loadLazy($event)"
4 [showCurrentPageReport]=
"true" i18n-currentPageReportTemplate
5 currentPageReportTemplate=
"Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} muted instances"
7 <ng-template pTemplate=
"caption">
9 <a class=
"ml-auto block-button" (click)=
"addServersToBlock()" (key.enter)=
"addServersToBlock()">
10 <my-global-icon iconName=
"add"></my-global-icon>
11 <ng-container i18n
>Mute domain
</ng-container>
16 <ng-template pTemplate=
"header">
18 <th i18n
>Instance
</th>
19 <th style=
"width: 190px;" i18n
pSortableColumn=
"createdAt">Muted at
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
20 <th style=
"width: 100px;"></th> <!-- column for action buttons -->
24 <ng-template pTemplate=
"body" let-serverBlock
>
26 <td>{{ serverBlock.blockedServer.host }}
</td>
27 <td>{{ serverBlock.createdAt }}
</td>
28 <td class=
"action-cell">
29 <button class=
"unblock-button" (click)=
"unblockServer(serverBlock)" i18n
>Unmute
</button>
35 <my-batch-domains-modal #batchDomainsModal i18n-action
action=
"Mute domains" (domains)=
"onDomainsToBlock($event)">
36 <ng-container ngProjectAs=
"warning">
37 <div i18n *
ngIf=
"httpEnabled() === false" class=
"alert alert-warning">
38 It seems that you are not on a HTTPS server. Your webserver needs to have TLS activated in order to follow servers.
41 </my-batch-domains-modal>