You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/10/28 15:05:41 UTC

[incubator-datalab] 02/02: [DATALAB-2121]: Fixed confirmation buttons on 'Role' updating

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

dgnatyshyn pushed a commit to branch DATALAB-2127
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit f270535e47e5038ebdb4e973bd6bf4b0620dca61
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Oct 28 17:04:35 2020 +0200

    [DATALAB-2121]: Fixed confirmation buttons on 'Role' updating
---
 .../confirmation-dialog.component.html             | 28 ++--------------------
 1 file changed, 2 insertions(+), 26 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.component.html
index a80b08f..e21a968 100644
--- a/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.component.html
@@ -41,30 +41,6 @@
       </div>
       <p *ngIf="data.type === 4 && data.notebook.length" class="text-center delete-user">User<span *ngIf="data.notebook.length>1">s</span>  <span class="strong"> {{data.notebook.join(', ')}} </span>will be removed from this group. Removing may prevent the user<span *ngIf="data.notebook.length>1">s</span> to access {{data.notebook.length>1 ? 'their' : 'his/her'}} resources</p>
       <p *ngIf="data.type === 5" class="text-center delete-user">Removing the group<span *ngIf="data.notebook.length>1">s</span> <span class="strong">{{' ' + data.notebook}}</span> from the project may prevent the users from this group<span *ngIf="data.notebook.length>1">s</span> to access their resources</p>
-<!--        All <span *ngIf="data.notebook.length===1">his</span><span *ngIf="data.notebook.length>1">their</span> resources authorized within this group will be terminated.-->
-<!--      <mat-list class="resources"-->
-<!--        [hidden]="model.notebook.type === 'Edge Node' || model.notebook.name === 'edge node'-->
-<!--                                  || !model.notebook.resources || model.notebook.resources.length === 0 || (!isAliveResources && !confirmationType) || onlyKilled">-->
-<!--        <mat-list-item class="list-header">-->
-<!--          <div class="cluster">Cluster</div>-->
-<!--          <div class="status">Further status</div>-->
-<!--          <div class="size">Size</div>-->
-<!--        </mat-list-item>-->
-<!--        <div class="scrolling-content" id="scrolling">-->
-<!--          <mat-list-item *ngFor="let resource of model.notebook.resources"-->
-<!--                         [hidden]="resource.status === 'failed' || resource.status === 'terminated' || resource.status === 'terminating' || (resource.status === 'stopped' && !confirmationType)">-->
-<!--              <div class="cluster ellipsis">{{ resource.computational_name }}</div>-->
-<!--              <div class="status" [ngClass]="{ 'stopped': !confirmationType && resource.image === 'docker.datalab-dataengine',-->
-<!--                  'terminated': resource.image === 'docker.datalab-dataengine-service' || confirmationType }">-->
-<!--                  {{ (!confirmationType && resource.image === 'docker.datalab-dataengine') ? 'Stopped' : 'Terminated' }}-->
-<!--              </div>-->
-<!--              <div class="size">{{-->
-<!--                  resource[DICTIONARY[notebook.cloud_provider.toLowerCase()][resource.image].master_node_shape] }}-->
-<!--              </div>-->
-<!--          </mat-list-item>-->
-<!--        </div>-->
-<!--      </mat-list>-->
-
         <div class="resource-list" *ngIf="data.type === 0 || data.type === 1">
           <div class="resource-list-header">
             <div class="resource-name">Notebook</div>
@@ -102,7 +78,7 @@
               </div>
             </div>
           </div>
-
+        </div>
 
       <div class="text-center m-top-20">
         <p class="strong">Do you want to proceed?</p>
@@ -115,4 +91,4 @@
     </div>
     </div>
   </div>
-</div>
+


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