You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/03/17 18:59:24 UTC

[03/50] [abbrv] stratos git commit: add long names to tooltips

add long names to tooltips


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

Branch: refs/heads/master-deployment-policy-fix-merge
Commit: e2c9ded9cda4d0c3aa881a3301554963d4049d98
Parents: 9325f1a
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Thu Mar 12 05:06:24 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Thu Mar 12 05:06:24 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/js/custom/applications_topology.js   | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/e2c9ded9/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 9296e5a..6b1bf54 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
@@ -458,6 +458,8 @@ function addJsplumbGroup(groupJSON, cartridgeCounter){
         .text(groupJSON.alias)
         .addClass('input-false')
         .addClass('application')
+        .attr('data-toggle', 'tooltip')
+        .attr('title',groupJSON.alias)
         .addClass('stepnode')
         .appendTo('#whiteboard');
 
@@ -480,6 +482,8 @@ function addJsplumbGroup(groupJSON, cartridgeCounter){
                 .text(item[prop].type)
                 .addClass('input-false')
                 .addClass('stepnode')
+                .attr('data-toggle', 'tooltip')
+                .attr('title',item[prop].type )
                 .appendTo('#whiteboard');
 
 
@@ -506,6 +510,8 @@ function addJsplumbGroup(groupJSON, cartridgeCounter){
             var divGroup = $('<div>').attr({'id':cartridgeCounter+'-'+parentName+'-'+item[prop]['name'],'data-type':'group','data-ctype':item[prop]['name'] })
                 .text(item[prop]['name'])
                 .addClass('stepnode')
+                .attr('data-toggle', 'tooltip')
+                .attr('title',item[prop]['name'])
                 .addClass('input-false')
                 .appendTo('#whiteboard');