]>
Commit | Line | Data |
---|---|---|
04e0fc48 | 1 | <h3>Following list</h3> |
51548b31 | 2 | |
04e0fc48 C |
3 | <p-dataTable |
4 | [value]="following" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" | |
5 | sortField="createdAt" (onLazyLoad)="loadLazy($event)" | |
6 | > | |
7 | <p-column field="id" header="ID"></p-column> | |
8 | <p-column field="following.host" header="Host"></p-column> | |
9 | <p-column field="state" header="State"></p-column> | |
10 | <p-column field="createdAt" header="Created date" [sortable]="true"></p-column> | |
11 | <p-column header="Unfollow" styleClass="action-cell"> | |
12 | <ng-template pTemplate="body" let-following="rowData"> | |
13 | <span (click)="removeFollowing(following)" class="glyphicon glyphicon-remove glyphicon-black" title="Unfollow"></span> | |
14 | </ng-template> | |
15 | </p-column> | |
16 | </p-dataTable> |