2 [value]=
"blockedServers" [lazy]=
"true" [paginator]=
"true" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage" [rowsPerPageOptions]=
"rowsPerPageOptions"
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">
11 type=
"text" name=
"table-filter" id=
"table-filter" i18n-placeholder
placeholder=
"Filter..."
12 (keyup)=
"onSearch($event)"
15 <a class=
"ml-2 block-button" (click)=
"addServersToBlock()" (key.enter)=
"addServersToBlock()">
16 <my-global-icon iconName=
"add"></my-global-icon>
17 <ng-container i18n
>Mute domain
</ng-container>
22 <ng-template pTemplate=
"header">
24 <th style=
"width: 100%;" i18n
>Instance
</th>
25 <th style=
"width: 190px;" i18n
pSortableColumn=
"createdAt">Muted at
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
26 <th style=
"width: 100px;"></th> <!-- column for action buttons -->
30 <ng-template pTemplate=
"body" let-serverBlock
>
33 <a [href]=
"'https://' + serverBlock.blockedServer.host" i18n-title
title=
"Open instance in a new tab" target=
"_blank" rel=
"noopener noreferrer">
34 {{ serverBlock.blockedServer.host }}
35 <span class=
"glyphicon glyphicon-new-window"></span>
38 <td>{{ serverBlock.createdAt }}
</td>
39 <td class=
"action-cell">
40 <button class=
"unblock-button" (click)=
"unblockServer(serverBlock)" i18n
>Unmute
</button>
45 <ng-template pTemplate=
"emptymessage">
48 <div class=
"empty-table-message">
49 <ng-container *
ngIf=
"search" i18n
>No server found matching current filters.
</ng-container>
50 <ng-container *
ngIf=
"!search" i18n
>No server found.
</ng-container>
57 <my-batch-domains-modal #batchDomainsModal i18n-action
action=
"Mute domains" (domains)=
"onDomainsToBlock($event)">
58 <ng-container ngProjectAs=
"warning">
59 <div i18n *
ngIf=
"httpEnabled() === false" class=
"alert alert-warning">
60 It seems that you are not on a HTTPS server. Your webserver needs to have TLS activated in order to follow servers.
63 </my-batch-domains-modal>