]>
Commit | Line | Data |
---|---|---|
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> |
0f91ae62 | 11 | <p-column field="state" header="State"></p-column> |
51548b31 | 12 | <p-column field="createdAt" header="Created date" [sortable]="true"></p-column> |
7e9334c3 C |
13 | <p-column header="Unfollow" styleClass="action-cell"> |
14 | <ng-template pTemplate="body" let-following="rowData"> | |
15 | <span (click)="removeFollowing(following)" class="glyphicon glyphicon-remove glyphicon-black" title="Unfollow"></span> | |
16 | </ng-template> | |
17 | </p-column> | |
51548b31 C |
18 | </p-dataTable> |
19 | </div> | |
20 | </div> |