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/09/01 14:36:08 UTC
[incubator-dlab] branch develop updated: [DLAB-2015]: Removed Ungit
link for Apache Zeppelin on 'Environment management' page (#883)
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/develop by this push:
new 89c4de1 [DLAB-2015]: Removed Ungit link for Apache Zeppelin on 'Environment management' page (#883)
89c4de1 is described below
commit 89c4de1f6da6b57015ff62199d7a4eff14413b2f
Author: Dmytro Gnatyshyn <42...@users.noreply.github.com>
AuthorDate: Tue Sep 1 17:35:58 2020 +0300
[DLAB-2015]: Removed Ungit link for Apache Zeppelin on 'Environment management' page (#883)
[DLAB-2015]: Removed Ungit link for Apache Zeppelin on 'Environment management' page
---
.../detail-dialog/detail-dialog.component.html | 38 ++++++++++++++++++----
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/detail-dialog/detail-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/detail-dialog/detail-dialog.component.html
index 61e3ab2..038fc28 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/detail-dialog/detail-dialog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/detail-dialog/detail-dialog.component.html
@@ -43,13 +43,37 @@
<div *ngIf="data.type === 'environment'" class="detail-info">
<p>Open following URL(s) in your browser to access this box:</p>
<div class="links_block">
- <p *ngFor="let item of notebook.exploratory_urls">
- <span class="description">{{item.description}}: </span>
- <a class="ellipsis" matTooltip="{{item.url}}" matTooltipPosition="above" href="{{item.url}}"
- target="_blank" (click)="logAction(notebook.name, item.description)">
- {{item.url}}{{notebook.name}}
- </a>
- </p>
+<!-- <p *ngFor="let item of notebook.exploratory_urls">-->
+<!-- <span class="description">{{item.description}}: </span>-->
+<!-- <a class="ellipsis" matTooltip="{{item.url}}" matTooltipPosition="above" href="{{item.url}}"-->
+<!-- target="_blank" (click)="logAction(notebook.name, item.description)">-->
+<!-- {{item.url}}{{notebook.name}}-->
+<!-- </a>-->
+<!-- </p>-->
+ <ng-container *ngFor="let item of notebook.exploratory_urls">
+ <span class="d-none" *ngIf="item.description.toLowerCase() === 'ungit' && notebook.exploratory_urls[0].description.toLowerCase().indexOf('zeppelin') !== -1; else ungit">
+ </span>
+ <ng-template #ungit>
+ <p (mouseleave)="hideCopyIcon()">
+ <span class="description">{{item.description}}: </span>
+ <a (mouseover)="showCopyIcon(item.description)"
+ (click)="logAction(notebook.name, item.description)"
+ class="ellipsis none-select" matTooltip="{{item.url}}"
+ matTooltipPosition="above"
+ href="{{item.url}}"
+ target="_blank"
+ (contextmenu)="false"
+ >
+ {{item.url}}
+ </a>
+ <span (click)="logAction(notebook.name, item.description, 'Copy');$event.stopPropagation()" *ngIf="isCopyIconVissible[item.description]" [matTooltip]="isCopied ? 'Copy ' + item.description + ' url': 'Copied'" matTooltipPosition="above" class="copy-icon-wrapper">
+ <span class="link-icon" (click)="copyBucketName(item.url)" >
+ <span _ngcontent-xpv-c19="" class="material-icons" (click)="this.isCopied = false">content_copy</span>
+ </span>
+ </span>
+ </p>
+ </ng-template>
+ </ng-container>
</div>
</div>
<div class="scroll-box" id="scrolling" *ngIf="data.type === 'resource'">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org