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

iuliana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new a3b6cdb  Remove a extra redirection when navegating using the menu and 
the main screen
     new 4bedda3  Merge pull request #242 from jcabrerizo/feature/fix-module-url
a3b6cdb is described below

commit a3b6cdbb5883808b080d5769b0760369d1923b28
Author: Juan Cabrerizo <[email protected]>
AuthorDate: Fri Jul 9 16:13:32 2021 +0100

    Remove a extra redirection when navegating using the menu and the main 
screen
---
 ui-modules/app-inspector/app/views/main/main.template.html      | 2 +-
 ui-modules/home/app/views/main/main.template.html               | 2 +-
 ui-modules/utils/module-links/module-links-navbar.template.html | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ui-modules/app-inspector/app/views/main/main.template.html 
b/ui-modules/app-inspector/app/views/main/main.template.html
index 51672f9..5fab419 100644
--- a/ui-modules/app-inspector/app/views/main/main.template.html
+++ b/ui-modules/app-inspector/app/views/main/main.template.html
@@ -59,7 +59,7 @@
                                     <i class="fa fa-ban fa-stack-2x 
text-danger"></i>
                                 </span>
                             </button>
-                            <a href="{{ ctrl.composerUrl }}" class="btn btn-sm 
btn-default entity-tree-action" ng-if="ctrl.composerUrl">
+                            <a href="{{ ctrl.composerUrl }}/" class="btn 
btn-sm btn-default entity-tree-action" ng-if="ctrl.composerUrl">
                                 <i class="fa fa-plus"></i>
                             </a>
                         </div>
diff --git a/ui-modules/home/app/views/main/main.template.html 
b/ui-modules/home/app/views/main/main.template.html
index 6ad4dfe..6c29998 100644
--- a/ui-modules/home/app/views/main/main.template.html
+++ b/ui-modules/home/app/views/main/main.template.html
@@ -62,7 +62,7 @@
 
     <div class="row brooklyn-modules">
         <div class="col-md-3" ng-repeat="uiModule in vm.uiModules">
-            <a ng-href="{{uiModule.path}}">
+            <a ng-href="{{uiModule.path}}/">
                 <br-card center="true">
                     <br-card-content>
                         <br-card-content-headline>
diff --git a/ui-modules/utils/module-links/module-links-navbar.template.html 
b/ui-modules/utils/module-links/module-links-navbar.template.html
index 169f001..48d8423 100644
--- a/ui-modules/utils/module-links/module-links-navbar.template.html
+++ b/ui-modules/utils/module-links/module-links-navbar.template.html
@@ -39,7 +39,7 @@
         <span class="ui-module-name">Home</span>
     </a></li>
     <li role="menuitem" ng-repeat="module in ctrl.modules track by module.id" 
ng-if="module.path && !module.type.includes('library-ui-module')">
-        <a ng-href="{{module.path}}" class="module" ng-class="{active: 
ctrl.isModuleActive(module.path)}">
+        <a ng-href="{{module.path}}/" class="module" ng-class="{active: 
ctrl.isModuleActive(module.path)}">
             <i class="ui-module-icon fa fa-fw {{module.icon}}"></i>
             <span class="ui-module-name">{{module.name}}</span>
         </a>

Reply via email to