You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2020/03/02 09:23:54 UTC

[incubator-dlab] branch odahu-integration updated: Fixed billing on list of resources

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

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


The following commit(s) were added to refs/heads/odahu-integration by this push:
     new 567aa0d  Fixed billing on list of resources
567aa0d is described below

commit 567aa0d2a08f00a8b573957c36673f908aebca51
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Mon Mar 2 11:23:20 2020 +0200

    Fixed billing on list of resources
---
 .../src/app/resources/resources-grid/resources-grid.component.html    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 2168182..70ceb8b 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -136,13 +136,11 @@
             </computational-resources-list>
           </td>
           <td *ngIf="healthStatus?.billingEnabled" class="cost-col">
-            <ng-template>
             <span class="total_cost">{{ element.cost || 'N/A' }} {{ element.currency_code || '' }}</span>
             <span (click)="element.billing && printCostDetails(element)" class="currency_details"
-              [ngClass]="{ 'not-allowed' : !element.billing }">
+              [ngClass]="{ 'not-allowed' : !element.billing || element.shape === 'odahu cluster' }">
               <i class="material-icons">help_outline</i>
             </span>
-            </ng-template>
           </td>
 
           <td class="settings">


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