Skip to content
Snippets Groups Projects
Commit 0f6ade24 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9607: tooltips

parent a02bf8bc
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,13 @@ gridControllerMod.controller('GridController', ['$scope', '$window', 'dataServic
{ field: 'mom_object_group_id',
displayName: 'Group ID',
enableCellEdit: false,
cellTemplate:'<div style=\'text-align:center; padding-top:5px;\'><a target="_blank" href="https://lofar.astron.nl/mom3/user/project/setUpMom2ObjectDetails.do?view=generalinfo&mom2ObjectId={{row.entity.mom_object_group_mom2object_id}}">{{row.entity.mom_object_group_id}}</a></div>',
cellTemplate:'<div style=\'text-align: center; padding-top:5px;\'>' +
'<a target="_blank" href="https://lofar.astron.nl/mom3/user/project/setUpMom2ObjectDetails.do?view=generalinfo&mom2ObjectId={{row.entity.mom_object_group_mom2object_id}}"' +
'title="' +
'Group name: ' + '{{row.entity.mom_object_group_name}}\n' +
'Parent group name: ' + '{{row.entity.mom_object_parent_group_name}}\n' +
'Parent group ID: ' + '{{row.entity.mom_object_parent_group_id}}' +
'">{{row.entity.mom_object_group_id}}</a></div>',
width: '80',
filter: {
condition: uiGridConstants.filter.EXACT,
......@@ -196,7 +202,9 @@ gridControllerMod.controller('GridController', ['$scope', '$window', 'dataServic
'title="' +
'Project description: ' + '{{row.grid.appScope.dataService.momProjectsDict[row.entity.project_mom_id].description}}\n' +
'Task description: ' + '{{row.entity.description}}\n' +
'Group name: ' + '{{row.entity.mom_object_group_name}}\n' +
'Group ID: ' + '{{row.entity.mom_object_group_id}}\n' +
'Parent group name: ' + '{{row.entity.mom_object_parent_group_name}}\n' +
'Parent group ID: ' + '{{row.entity.mom_object_parent_group_id}}' +
'">{{row.entity[col.field]}} </a></div>',
width: '65'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment