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/09/26 08:12:45 UTC
[incubator-dlab] branch DLAB-1056 updated: [DLAB-1147]: prevent
project status check on env management dialog
This is an automated email from the ASF dual-hosted git repository.
ankovalyshyn pushed a commit to branch DLAB-1056
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1056 by this push:
new 4c32065 [DLAB-1147]: prevent project status check on env management dialog
4c32065 is described below
commit 4c32065e636e710368501809eac0a70036d59861
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Thu Sep 26 11:12:33 2019 +0300
[DLAB-1147]: prevent project status check on env management dialog
---
.../manage-environment-dilog.component.html | 23 ++++------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/management/manage-environment/manage-environment-dilog.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/management/manage-environment/manage-environment-dilog.component.html
index a6bc421..80af595 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/management/manage-environment/manage-environment-dilog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/management/manage-environment/manage-environment-dilog.component.html
@@ -50,27 +50,12 @@
quotes cannot be greater than total budget</span>
</div>
<div class="action">
- <span matTooltip="Stop" matTooltipPosition="above" (click)="applyAction('stop', item)"
- *ngIf="manageUsersForm.controls['projects'].controls[i].value['status'] === 'ACTIVE'; else not_active"><i
- class="material-icons">pause_circle_outline</i></span>
-
- <ng-template #not_active>
- <span class="disabled" matTooltip="Project is not active" matTooltipPosition="above">
- <i class="material-icons">pause_circle_outline</i>
- </span>
- </ng-template>
-
-
- <span matTooltip="Terminate" matTooltipPosition="above" (click)="applyAction('terminate', item)"
- *ngIf="manageUsersForm.controls['projects'].controls[i].value['status'] !== 'DELETED'
- && manageUsersForm.controls['projects'].controls[i].value['status'] !== 'DELETING'; else deleted">
+ <span matTooltip="Stop" matTooltipPosition="above" (click)="applyAction('stop', item)"><i
+ class="material-icons">pause_circle_outline</i>
+ </span>
+ <span matTooltip="Terminate" matTooltipPosition="above" (click)="applyAction('terminate', item)">
<i class="material-icons">phonelink_off</i>
</span>
- <ng-template #deleted>
- <span class="disabled" matTooltip="Project is deleted" matTooltipPosition="above">
- <i class="material-icons">phonelink_off</i>
- </span>
- </ng-template>
</div>
</mat-list-item>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org