You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/04/03 13:07:07 UTC

[incubator-dlab] branch demo_gcp_billing updated: cleanup gcp limitations

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch demo_gcp_billing
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/demo_gcp_billing by this push:
     new 0bf401d  cleanup gcp limitations
0bf401d is described below

commit 0bf401df47e4324908583b4b0f27f4a8be661791
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Wed Apr 3 16:05:40 2019 +0300

    cleanup gcp limitations
---
 .../manage-environment/manage-environment-dilog.component.html    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/management/manage-environment/manage-environment-dilog.component.html b/services/self-service/src/main/resources/webapp/src/app/management/manage-environment/manage-environment-dilog.component.html
index 094ec9b..2e7c167 100644
--- a/services/self-service/src/main/resources/webapp/src/app/management/manage-environment/manage-environment-dilog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/management/manage-environment/manage-environment-dilog.component.html
@@ -28,13 +28,13 @@
           <mat-list>
             <mat-list-item class="list-header">
               <div class="username">User</div>
-              <div class="quotes" *ngIf="DICTIONARY.cloud_provider !== 'gcp'">Limit</div>
+              <div class="quotes">Limit</div>
               <div class="action">Actions</div>
             </mat-list-item>
             <div class="scrolling-content" id="scrolling" formArrayName="users">
               <mat-list-item  *ngFor="let item of usersEnvironments.controls; let i=index" [formGroupName]="i" class="list-item"> 
                 <div class="username ellipsis">{{ manageUsersForm.controls['users'].controls[i].value['name'] }}</div>
-                <div class="quotes" *ngIf="DICTIONARY.cloud_provider !== 'gcp'">
+                <div class="quotes">
                     <input type="number" min="0" placeholder="Enter limit, in USD" formControlName="budget">
                     <span class="danger_color" *ngIf="!manageUsersForm?.controls['users'].controls[i].controls['budget'].valid && !manageUsersForm?.controls['users'].controls[i].controls['budget'].hasError('overrun')">Only positive integers are allowed</span>
                     <span class="danger_color" *ngIf="manageUsersForm?.controls['users'].controls[i].controls['budget'].hasError('overrun')">Per-user quotes cannot be greater than total budget</span>
@@ -52,14 +52,14 @@
                 </div>
               </mat-list-item>
             </div>
-            <div class="control-group total-budget" *ngIf="DICTIONARY.cloud_provider !== 'gcp'">
+            <div class="control-group total-budget">
               <label class="label">Total budget</label>
               <div class="control">
                 <input type="number" formControlName="total" placeholder="Enter total budget, in USD">
                 <span class="danger_color" *ngIf="manageUsersForm?.controls['total'].hasError('overrun')">Total budget cannot be lower than a sum of users quotes</span>
               </div>
             </div>
-            <div class="text-center m-top-30" *ngIf="DICTIONARY.cloud_provider !== 'gcp'">
+            <div class="text-center m-top-30">
               <button mat-raised-button type="button" (click)="bindDialog.close()" class="butt action">Cancel</button>
               <button mat-raised-button type="submit" [disabled]="!manageUsersForm.valid"
                       class="butt butt-success" [ngClass]="{'not-allowed': !manageUsersForm.valid}">Apply</button>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org