mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-20 11:58:47 +00:00
* fix: remove user.write guard for filtering * border color * fix user routing from member tables * idp detail layout * generic contact component * fix redirect to auth user, user grant disable * disable policy action without permission, i18n * user-create flex fix, contact ng-content * rm unused styles * sidenav divider * lint * chore(deps-dev): bump @angular/cli from 10.1.3 to 10.1.4 in /console (#806) * fix: user session with external login (#797) * fix: user session with external login * fix: tests * fix: tests * fix: change idp config name * fix(container): stop copying / and instead only copy zitadel (#691) * chore: stop copying / and instead only copy zitadel * Update Dockerfile * Update release.yml * enable anchors debug * fix(container): don't copy alpine content into scratch execpt pwd * chore: remove need step * merge master * chore(deps-dev): bump @angular/cli from 10.1.3 to 10.1.4 in /console Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.1.3 to 10.1.4. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/compare/v10.1.3...v10.1.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular/language-service from 10.1.3 to 10.1.4 in /console (#805) * fix: user session with external login (#797) * fix: user session with external login * fix: tests * fix: tests * fix: change idp config name * fix(container): stop copying / and instead only copy zitadel (#691) * chore: stop copying / and instead only copy zitadel * Update Dockerfile * Update release.yml * enable anchors debug * fix(container): don't copy alpine content into scratch execpt pwd * chore: remove need step * merge master * chore(deps-dev): bump @angular/language-service in /console Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 10.1.3 to 10.1.4. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/10.1.4/packages/language-service) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump codelyzer from 6.0.0 to 6.0.1 in /console (#804) * fix: user session with external login (#797) * fix: user session with external login * fix: tests * fix: tests * fix: change idp config name * fix(container): stop copying / and instead only copy zitadel (#691) * chore: stop copying / and instead only copy zitadel * Update Dockerfile * Update release.yml * enable anchors debug * fix(container): don't copy alpine content into scratch execpt pwd * chore: remove need step * merge master * chore(deps-dev): bump codelyzer from 6.0.0 to 6.0.1 in /console Bumps [codelyzer](https://github.com/mgechev/codelyzer) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/mgechev/codelyzer/releases) - [Changelog](https://github.com/mgechev/codelyzer/blob/master/CHANGELOG.md) - [Commits](https://github.com/mgechev/codelyzer/commits/6.0.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular-devkit/build-angular from 0.1000.8 to 0.1001.4 in /console (#803) * fix: user session with external login (#797) * fix: user session with external login * fix: tests * fix: tests * fix: change idp config name * fix(container): stop copying / and instead only copy zitadel (#691) * chore: stop copying / and instead only copy zitadel * Update Dockerfile * Update release.yml * enable anchors debug * fix(container): don't copy alpine content into scratch execpt pwd * chore: remove need step * merge master * chore(deps-dev): bump @angular-devkit/build-angular in /console Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.8 to 0.1001.4. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps): bump uuid from 8.3.0 to 8.3.1 in /console (#802) * fix: user session with external login (#797) * fix: user session with external login * fix: tests * fix: tests * fix: change idp config name * fix(container): stop copying / and instead only copy zitadel (#691) * chore: stop copying / and instead only copy zitadel * Update Dockerfile * Update release.yml * enable anchors debug * fix(container): don't copy alpine content into scratch execpt pwd * chore: remove need step * merge master * chore(deps): bump uuid from 8.3.0 to 8.3.1 in /console Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.0 to 8.3.1. - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * create memberstable as common component * iam member cleanup * iam + org m table, user table service user avatar * toast config * fix selection emitter * fix project grant table width * project grant members refactor * theme optimizations * member table col delete * lint * fix table row color * refactor grey color * lint scss * org list redirect on click, fix user table undef * refresh table after grant add Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fabi <[email protected]> Co-authored-by: Florian Forster <[email protected]>
97 lines
4.7 KiB
HTML
97 lines
4.7 KiB
HTML
<div class="method-col">
|
|
<div class="method-row">
|
|
<span class="label">{{ 'USER.PROFILE.PASSWORD' | translate }}</span>
|
|
|
|
<span>*********</span>
|
|
<div>
|
|
<ng-content select="[phoneAction]"></ng-content>
|
|
<a [disabled]="!canWrite" [routerLink]="['password']" mat-icon-button>
|
|
<mat-icon class="icon">chevron_right</mat-icon>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="method-row">
|
|
<span class="label">{{ 'USER.EMAIL' | translate }}</span>
|
|
|
|
<ng-container *ngIf="!emailEditState; else emailEdit">
|
|
<div class="actions">
|
|
<span class="name">{{human?.email}}</span>
|
|
<mat-icon class="icon" *ngIf="human?.isEmailVerified" color="primary" aria-hidden="false"
|
|
aria-label="verified icon">
|
|
check_circle_outline</mat-icon>
|
|
<ng-container *ngIf="human?.email && !human?.isEmailVerified">
|
|
<mat-icon class="icon" color="warn" aria-hidden="false" aria-label="not verified icon">
|
|
highlight_off
|
|
</mat-icon>
|
|
<a *ngIf="canWrite" class="verify" matTooltip="{{'USER.LOGINMETHODS.EMAIL.RESEND' | translate}}"
|
|
(click)="emitEmailVerification()">{{'USER.LOGINMETHODS.RESENDCODE' | translate}}</a>
|
|
</ng-container>
|
|
</div>
|
|
|
|
<div>
|
|
<button [disabled]="!canWrite" (click)="emailEditState = true" mat-icon-button>
|
|
<mat-icon class="icon">edit</mat-icon>
|
|
</button>
|
|
</div>
|
|
</ng-container>
|
|
<ng-template #emailEdit>
|
|
<mat-form-field class="name">
|
|
<mat-label>{{ 'USER.EMAIL' | translate }}</mat-label>
|
|
<input *ngIf="human && human.email !== undefined && human.email !== null" matInput
|
|
[(ngModel)]="human.email" />
|
|
</mat-form-field>
|
|
<button (click)="emailEditState = false" mat-icon-button>
|
|
<mat-icon class="icon">close</mat-icon>
|
|
</button>
|
|
<button *ngIf="human" [disabled]="!human.email" type="button" color="primary" (click)="saveEmail()"
|
|
mat-raised-button>{{ 'ACTIONS.SAVE' | translate }}</button>
|
|
</ng-template>
|
|
</div>
|
|
|
|
<div class="method-row">
|
|
<span class="label">{{ 'USER.PHONE' | translate }}</span>
|
|
|
|
<ng-container *ngIf="!phoneEditState; else phoneEdit">
|
|
<div class="actions">
|
|
<span class="name">{{human?.phone}}</span>
|
|
<mat-icon class="icon" *ngIf="human?.isPhoneVerified" color="primary" aria-hidden="false"
|
|
aria-label="verified icon">
|
|
check_circle_outline</mat-icon>
|
|
<ng-container *ngIf="human?.phone && !human?.isPhoneVerified">
|
|
<mat-icon class="icon" matTooltip="not verified" color="warn" aria-hidden="false"
|
|
aria-label="not verified icon">
|
|
highlight_off
|
|
</mat-icon>
|
|
<a *ngIf="!disablePhoneCode && !canWrite" class="verify"
|
|
matTooltip="{{'USER.LOGINMETHODS.ENTERCODE_DESC' | translate}}"
|
|
(click)="enterCode()">{{'USER.LOGINMETHODS.ENTERCODE' | translate}}</a>
|
|
<a *ngIf="canWrite" class="verify" matTooltip="{{'USER.LOGINMETHODS.PHONE.RESEND' | translate}}"
|
|
(click)="emitPhoneVerification()">{{'USER.LOGINMETHODS.RESENDCODE' | translate}}</a>
|
|
</ng-container>
|
|
</div>
|
|
|
|
<div>
|
|
<button [disabled]="!canWrite" (click)="phoneEditState = true" mat-icon-button>
|
|
<mat-icon class="icon">edit</mat-icon>
|
|
</button>
|
|
</div>
|
|
</ng-container>
|
|
|
|
<ng-template #phoneEdit>
|
|
<mat-form-field class="name">
|
|
<mat-label>{{ 'USER.PHONE' | translate }}</mat-label>
|
|
<input *ngIf="human && human.phone !== undefined && human.phone !== null" matInput
|
|
[(ngModel)]="human.phone" />
|
|
</mat-form-field>
|
|
<button (click)="phoneEditState = false" mat-icon-button>
|
|
<mat-icon class="icon">close</mat-icon>
|
|
</button>
|
|
<button *ngIf="human && human.phone" color="warn" (click)="emitDeletePhone()" mat-icon-button>
|
|
<i class="las la-trash"></i>
|
|
</button>
|
|
<button *ngIf="human" [disabled]="!human.phone" type="button" color="primary" (click)="savePhone()"
|
|
mat-raised-button>{{ 'ACTIONS.SAVE' | translate }}</button>
|
|
</ng-template>
|
|
</div>
|
|
</div> |