Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org/space: allowed quota to be specified on creation/edition #3593

Merged
merged 7 commits into from
Jun 3, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Tweak text
  • Loading branch information
richard-cox committed May 30, 2019
commit 732358bfef3916aa0845640dccb616d593232127
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</mat-form-field>
<mat-form-field *ngIf="hasSpaceQuotas$ | async">
<mat-select class="form-control" formControlName="quotaDefinition" placeholder="Quota Definition">
<mat-option [value]="0" *ngIf="hasSpaceQuotas$ | async">None (defaults to organization's quota)</mat-option>
<mat-option [value]="0" *ngIf="hasSpaceQuotas$ | async">None</mat-option>
<mat-option *ngFor="let quota of quotaDefinitions$ | async" [value]="quota.metadata.guid">{{ quota.entity.name }}
</mat-option>
</mat-select>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="edit-org">
<div>Specify the new name for the organization </div>
<form [formGroup]="editOrgName" class="stepper-form">
<mat-form-field>
<input matInput formControlName="orgName" placeholder="Organization Name" required [appFocus]="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="edit-space">
<div>Specify the new name for the space</div>
<form [formGroup]="editSpaceForm" class="stepper-form">
<mat-form-field>
<input matInput formControlName="spaceName" [(ngModel)]="spaceName" placeholder="Space Name" [appFocus]="true">
Expand All @@ -9,7 +8,7 @@
</mat-form-field>
<mat-form-field *ngIf="hasSpaceQuotas$ | async">
<mat-select class="form-control" formControlName="quotaDefinition" placeholder="Quota Definition">
<mat-option [value]="0" *ngIf="hasSpaceQuotas$ | async">None (defaults to organization's quota)</mat-option>
<mat-option [value]="0" *ngIf="hasSpaceQuotas$ | async">None</mat-option>
<mat-option *ngFor="let quota of quotaDefinitions$ | async" [value]="quota.metadata.guid">{{ quota.entity.name }}
</mat-option>
</mat-select>
Expand Down