1 <div class="admin-sub-header">
2 <div class="form-sub-title">Users list</div>
4 <a class="add-button" routerLink="/admin/users/create">
5 <span class="icon icon-add"></span>
11 [value]="users" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
12 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
14 <ng-template pTemplate="header">
16 <th pSortableColumn="username">Username <p-sortIcon field="username"></p-sortIcon></th>
20 <th pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
25 <ng-template pTemplate="body" let-user>
27 <td>{{ user.username }}</td>
28 <td>{{ user.email }}</td>
29 <td>{{ user.videoQuota }}</td>
30 <td>{{ user.roleLabel }}</td>
31 <td>{{ user.createdAt }}</td>
32 <td class="action-cell">
33 <my-edit-button [routerLink]="getRouterUserEditLink(user)"></my-edit-button>
34 <my-delete-button (click)="removeUser(user)"></my-delete-button>