You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by sm...@apache.org on 2020/04/06 18:06:17 UTC

[knox] branch master updated: KNOX-2317 - Open UI services from Knox Home page on new tabs (#305)

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

smolnar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 0026377  KNOX-2317 - Open UI services from Knox Home page on new tabs (#305)
0026377 is described below

commit 0026377664ff9ed4382a16d860aa1dc85f8ae37c
Author: Sandor Molnar <sm...@apache.org>
AuthorDate: Mon Apr 6 20:06:08 2020 +0200

    KNOX-2317 - Open UI services from Knox Home page on new tabs (#305)
---
 .../home/app/topologies/topology.information.component.html           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/knox-homepage-ui/home/app/topologies/topology.information.component.html b/knox-homepage-ui/home/app/topologies/topology.information.component.html
index b6aa3b6..9d2e542 100644
--- a/knox-homepage-ui/home/app/topologies/topology.information.component.html
+++ b/knox-homepage-ui/home/app/topologies/topology.information.component.html
@@ -27,10 +27,10 @@
         <!-- UI services -->
         <mat-grid-list cols="4" rowHeight="130px">
             <mat-grid-tile *ngFor="let service of topology.uiServices.service" [colspan]="1" [rowspan]="1">
-                 <a href="{{service.serviceUrl}}" target="blank" *ngIf="!this['enableServiceText_' + service.serviceName.toLowerCase()]">
+                 <a href="{{service.serviceUrl}}" target="_blank" *ngIf="!this['enableServiceText_' + service.serviceName.toLowerCase()]">
                     <img src="assets/service-logos/{{service.serviceName.toLowerCase()}}.png" height="50px" (error)="enableServiceText('enableServiceText_' + service.serviceName.toLowerCase())"/>
                 </a>
-                 <a href="{{service.serviceUrl}}" target="blank" *ngIf="this['enableServiceText_' + service.serviceName.toLowerCase()]">
+                 <a href="{{service.serviceUrl}}" target="_blank" *ngIf="this['enableServiceText_' + service.serviceName.toLowerCase()]">
                     {{service.shortDesc}}
                 </a>
                 <mat-grid-tile-footer class="tile-shortDesc">