Repository: qpid-dispatch Updated Branches: refs/heads/master 1f3eb8ed0 -> c953fb3b2
DISPATCH-317: Show a tooltip that contains the full value when mouse is over values on the left-hand table on topology page. Also show schema descriptions when mouse is over attribute names for the same table. Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/c953fb3b Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/c953fb3b Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/c953fb3b Branch: refs/heads/master Commit: c953fb3b2775245010806a35f37489468589c543 Parents: 1f3eb8e Author: Ernest Allen <eal...@redhat.com> Authored: Wed Jun 8 13:19:07 2016 -0400 Committer: Ernest Allen <eal...@redhat.com> Committed: Wed Jun 8 13:19:07 2016 -0400 ---------------------------------------------------------------------- console/hawtio/src/main/webapp/plugin/js/qdrTopology.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/c953fb3b/console/hawtio/src/main/webapp/plugin/js/qdrTopology.js ---------------------------------------------------------------------- diff --git a/console/hawtio/src/main/webapp/plugin/js/qdrTopology.js b/console/hawtio/src/main/webapp/plugin/js/qdrTopology.js index be945f7..162af05 100644 --- a/console/hawtio/src/main/webapp/plugin/js/qdrTopology.js +++ b/console/hawtio/src/main/webapp/plugin/js/qdrTopology.js @@ -25,7 +25,8 @@ var QDR = (function (QDR) { QDR.module.controller('QDR.TopologyFormController', function ($scope, QDRService) { $scope.attributes = [] - var generalCellTemplate = '<div class="ngCellText"><span title="{{row.entity.description}}">{{row.entity.attributeName}}</span></div>'; + var nameTemplate = '<div title="{{row.entity.description}}" class="ngCellText"><span>{{row.entity.attributeName}}</span></div>'; + var valueTemplate = '<div title="{{row.entity.attributeValue}}" class="ngCellText"><span>{{row.entity.attributeValue}}</span></div>'; $scope.topoGridOptions = { data: 'attributes', enableColumnResize: true, @@ -34,11 +35,12 @@ var QDR = (function (QDR) { { field: 'attributeName', displayName: 'Attribute', - cellTemplate: generalCellTemplate + cellTemplate: nameTemplate }, { field: 'attributeValue', - displayName: 'Value' + displayName: 'Value', + cellTemplate: valueTemplate } ] }; @@ -588,7 +590,7 @@ var QDR = (function (QDR) { }) // add as 2nd row if (ports.length) - attributes.splice(1, 0, {attributeName: 'Listening on', attributeValue: ports}); + attributes.splice(1, 0, {attributeName: 'Listening on', attributeValue: ports, description: 'The port on which this router is listening for connections'}); } $scope.$broadcast('showEntityForm', {entity: entity, attributes: attributes}) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org