| .. | .. |
|---|
| 7 | 7 | <span flex></span> |
|---|
| 8 | 8 | <button md-icon-button (click)="save()"><md-icon>save</md-icon></button> |
|---|
| 9 | 9 | </md-toolbar> |
|---|
| 10 | | - <!-- |
|---|
| 11 | | - username: 'rym', |
|---|
| 12 | | - roles: [ 1 ], |
|---|
| 13 | | - lastLogin: 1488885433000, |
|---|
| 14 | | - modificationTimestamp: 1479898458000, |
|---|
| 15 | | - email: 'rbouchair@curistec.com', |
|---|
| 16 | | - first_name: 'Rym', |
|---|
| 17 | | - last_name: 'Bouchair', |
|---|
| 18 | | - creation_timestamp: 1479898458000, |
|---|
| 19 | | - organizations_ids: [ 1, 2, 5, 6, 7, 8 ] |
|---|
| 20 | | -} |
|---|
| 21 | | - --> |
|---|
| 22 | 10 | <div class="margin" layout-align-gt-xs="center start" layout-fill="" layout-gt-xs="row"> |
|---|
| 23 | 11 | <md-card flex="70"> |
|---|
| 24 | 12 | <md-card-title> |
|---|
| .. | .. |
|---|
| 79 | 67 | <error-checker [fieldName]="$L.get('field.email')" [formField]="form.controls.email"></error-checker> |
|---|
| 80 | 68 | </div> |
|---|
| 81 | 69 | </div> |
|---|
| 82 | | - <div layout="row" layout-fill layout-padding > |
|---|
| 70 | + <div layout="row" layout-fill layout-padding > |
|---|
| 83 | 71 | <td-chips flex [mdTooltip]="$L.get('Organizations that user can access')" [placeholder]="$L.get('Select organizations')" |
|---|
| 84 | 72 | [items]="orgNames" [(ngModel)]="user_orgs" name="user_orgs" requireMatch> |
|---|
| 85 | 73 | </td-chips> |
|---|
| .. | .. |
|---|
| 92 | 80 | </md-checkbox> |
|---|
| 93 | 81 | </div> |
|---|
| 94 | 82 | </div> |
|---|
| 83 | + <div layout="row" layout-fill layout-padding > |
|---|
| 84 | + <td-chips flex [mdTooltip]="$L.get('Applications that user can access')" [placeholder]="$L.get('Select applications')" |
|---|
| 85 | + [items]="appNames" [(ngModel)]="user_apps" name="user_apps" requireMatch> |
|---|
| 86 | + </td-chips> |
|---|
| 87 | + </div> |
|---|
| 95 | 88 | <div layout="row" layout-fill layout-padding *ngIf="!isNew"> |
|---|
| 96 | 89 | <field-readonly [value]="data.lastLogin || '' | timeAgo" label="field.lastLogin" flex></field-readonly> |
|---|
| 97 | 90 | <field-readonly [value]="data.creation_timestamp | date: 'medium'" label="field.creation_timestamp" flex></field-readonly> |
|---|