mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
* feat: console frontend * chore(dependabot): cycle and npm * chore: rename citadel to zitadel, remove generated files * chore: delete go files * chore(frontend): ci steps * chore: remove docker and envoy files * chore: remove docker file * chore: working dir * chore: run proto build * add console start * chore: restructure folders * chore: remove gui build * statikFs * generate proto for console * add statik import * import * chore: try statik * chore: path * chore: path * chore: script in root * chore: order build steps * chore: go get * chore: folder traversal * chore: non empty test file * chore: gitignore * chore: gitignore * chore: statik path * chore: switch to failing FE build * fix: build * fix: project-grant-test * fix: rm test * add statik.go * go mod tidy * chore: place test, seperate test from build * chore: lint all the world * chore: ci the world instead * chore: tune docker * chore: undo container test * chore: fix run * chore: docker build * chore: test docker build * chore: go build flags * finaly * fix caos_local * go mod Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: Max Peintner <[email protected]>
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<h1 mat-dialog-title>
|
|
<span class="title">{{'MEMBER.ADD' | translate}}</span>
|
|
</h1>
|
|
<p class="desc"> {{'ORG_DETAIL.MEMBER.ADDDESCRIPTION' | translate}}</p>
|
|
<div mat-dialog-content>
|
|
<app-search-user-autocomplete (selectionChanged)="users = $event"></app-search-user-autocomplete>
|
|
|
|
<mat-form-field class="full-width" appearance="outline"
|
|
*ngIf="creationType === CreationType.PROJECT_OWNED || creationType === CreationType.PROJECT_GRANTED">
|
|
<mat-label>{{ 'PROJECT.GRANT.TITLE' | translate }}</mat-label>
|
|
<mat-select [(ngModel)]="roles" multiple>
|
|
<mat-option *ngFor="let role of memberRoleOptions" [value]="role">
|
|
{{ 'ROLES.'+role | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
|
|
<ng-container *ngIf="creationType === CreationType.ORG">
|
|
<app-org-member-roles-autocomplete (selectionChanged)="setOrgMemberRoles($event)">
|
|
</app-org-member-roles-autocomplete>
|
|
</ng-container>
|
|
|
|
</div>
|
|
<div mat-dialog-actions class="action">
|
|
<button mat-button (click)="closeDialog()">
|
|
cancel
|
|
</button>
|
|
|
|
<button [disabled]="users.length == 0 || roles.length == 0" color="primary" mat-raised-button class="ok-button"
|
|
(click)="closeDialogWithSuccess()">
|
|
Add
|
|
</button>
|
|
</div> |