You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/04/12 12:45:31 UTC

[incubator-datalab] branch DATALAB-2360 created (now 3189923)

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

ytykhun pushed a change to branch DATALAB-2360
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 3189923  [DATALAB-2360] hidden self-service for external endpoint on the Configuration page

This branch includes the following new commits:

     new 3189923  [DATALAB-2360] hidden self-service for external endpoint on the Configuration page

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[incubator-datalab] 01/01: [DATALAB-2360] hidden self-service for external endpoint on the Configuration page

Posted by yt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 318992334a1381e865a915bb69b585b09358bdf6
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Mon Apr 12 15:43:54 2021 +0300

    [DATALAB-2360] hidden self-service for external endpoint on the Configuration page
---
 .../app/administration/configuration/configuration.component.html   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
index 7fdded4..48b8c1a 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
@@ -80,7 +80,10 @@
             <div class="section-content">
               <ul class="list-menu selection-list">
                 <li *ngFor="let service of services | keys">
-                  <p class="list-item" role="menuitem">
+                  <p 
+                    class="list-item" 
+                    role="menuitem" 
+                    *ngIf="(activeEndpoint !== 'local' && (service.key === 'provisioning' || service.key === 'billing') || activeEndpoint === 'local')">
                     <span (click)="toggleSettings(service.key);$event.stopPropagation()" class="d-flex">
                       <div class="checkbox-wrap">
                         <datalab-checkbox
@@ -108,6 +111,7 @@
       </mat-tab>
 
       <mat-tab label="Self-service"
+              *ngIf="activeEndpoint === 'local'"
                [disabled]="!(!services['provisioning'].isConfigChanged && !services['self-service'].isConfigChanged && !services['billing'].isConfigChanged) && activeTab.index !== 1"
 
       >

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