]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/follows/following-list/following-list.component.html
Add ability to unfollow a server
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / following-list / following-list.component.html
CommitLineData
51548b31
C
1<div class="row">
2 <div class="content-padding">
3 <h3>Following list</h3>
4
5 <p-dataTable
6 [value]="following" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
7 sortField="createdAt" (onLazyLoad)="loadLazy($event)"
8 >
9 <p-column field="id" header="ID"></p-column>
7e9334c3 10 <p-column field="following.host" header="Host"></p-column>
51548b31 11 <p-column field="email" header="Email"></p-column>
7e9334c3 12 <p-column field="following.score" header="Score"></p-column>
51548b31 13 <p-column field="createdAt" header="Created date" [sortable]="true"></p-column>
7e9334c3
C
14 <p-column header="Unfollow" styleClass="action-cell">
15 <ng-template pTemplate="body" let-following="rowData">
16 <span (click)="removeFollowing(following)" class="glyphicon glyphicon-remove glyphicon-black" title="Unfollow"></span>
17 </ng-template>
18 </p-column>
51548b31
C
19 </p-dataTable>
20 </div>
21</div>