You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by da...@apache.org on 2015/05/15 07:57:54 UTC

stratos git commit: fix application view issue

Repository: stratos
Updated Branches:
  refs/heads/master 373e61e4d -> 578c4f61c


fix application view issue


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/578c4f61
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/578c4f61
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/578c4f61

Branch: refs/heads/master
Commit: 578c4f61c1cd39e299628d5bef2358b5ef324d94
Parents: 373e61e
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Fri May 15 11:27:06 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Fri May 15 11:27:41 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/js/custom/applications_topology.js | 8 ++++----
 .../console/themes/theme0/partials/applications_form.hbs     | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/578c4f61/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js
index 8477682..4e617ea 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js
@@ -273,13 +273,13 @@ function update(source) {
         .attr("xlink:href",
         function (d) {
             if (d.type == 'clusters') {
-                return "../../../themes/theme0/images/topology/cluster.png";
+                return "../../themes/theme0/images/topology/cluster.png";
             } else if (d.type == 'groups') {
-                return "../../../themes/theme0/images/topology/group.png";
+                return "../../themes/theme0/images/topology/group.png";
             } else if (d.type == 'members') {
-                return "../../../themes/theme0/images/topology/member.png";
+                return "../../themes/theme0/images/topology/member.png";
             } else {
-                return "../../../themes/theme0/images/topology/application.png";
+                return "../../themes/theme0/images/topology/application.png";
             }
         })
         .attr("class", "created")

http://git-wip-us.apache.org/repos/asf/stratos/blob/578c4f61/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs
index b48b9dc..2107879 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs
@@ -121,7 +121,7 @@
                                         id="{{applicationId}}"> Undeploy</button>
                                 <button class="btn btn-info btn-lg hover-details" type="button"
                                         id="details_list_{{applicationId}}"
-                                        data-url="{{url ""}}/applications/applications/{{applicationId}}/" > View
+                                        data-url="{{url ""}}/applications/{{applicationId}}/" > View
                                 </button>
                             </div>
                             <div class="bottom-bar-wrapper">
@@ -130,7 +130,7 @@
                                             id="{{applicationId}}"> Undeploy</button>
                                     <button class="btn btn-info btn-lg hover-details" type="button"
                                             id="details_{{applicationId}}"
-                                            data-url="{{url ""}}/applications/applications/{{applicationId}}/" > View
+                                            data-url="{{url ""}}/applications/{{applicationId}}/" > View
                                     </button>
 
                                 </div>