1 <cd-user-tabs></cd-user-tabs>
3 <cd-table [data]=
"users"
8 (fetchData)=
"getUsers()"
9 (updateSelection)=
"updateSelection($event)">
10 <cd-table-actions class=
"table-actions"
11 [permission]=
"permission"
12 [selection]=
"selection"
13 [tableActions]=
"tableActions">
17 <ng-template #userRolesTpl
19 <span *
ngFor=
"let role of value; last as isLast">
20 {{ role }}{{ !isLast ?
", " :
"" }}
24 <ng-template #warningTpl
28 <div [class.border-danger]=
"row.remainingDays < this.expirationDangerAlert"
29 [class.border-warning]=
"row.remainingDays < this.expirationWarningAlert && row.remainingDays >= this.expirationDangerAlert"
30 class=
"border-margin">
31 <div class=
"warning-content"> {{ value }}
</div>
35 <ng-template #durationTpl
39 <i *
ngIf=
"row.remainingDays < this.expirationWarningAlert"
41 title=
"User's password is about to expire"
42 [class.icon-danger-color]=
"row.remainingDays < this.expirationDangerAlert"
43 [class.icon-warning-color]=
"row.remainingDays < this.expirationWarningAlert && row.remainingDays >= this.expirationDangerAlert"
44 class=
"{{ icons.warning }}"></i>
45 <span title=
"{{ value | cdDate }}">{{ row.remainingTimeWithoutSeconds /
1000 | duration }}
</span>