diff options
author | Angel Avila | 2017-04-19 20:00:01 +0000 |
---|---|---|
committer | Angel Avila | 2017-04-20 21:47:00 +0000 |
commit | 5cff7943087906274116a2765845cc2a73496db7 (patch) | |
tree | bc7d6f12e0e60a4d3dbe7a5b84832e7d7ecdd4c2 | |
parent | e7813a9cf9a26ae7f6cdffb53ad672ff8ed76861 (diff) | |
download | org.eclipse.osee-5cff7943087906274116a2765845cc2a73496db7.tar.gz org.eclipse.osee-5cff7943087906274116a2765845cc2a73496db7.tar.xz org.eclipse.osee-5cff7943087906274116a2765845cc2a73496db7.zip |
feature: Have 'team' be a default column in dispo
Change-Id: I5e809d048a3a380fd2596e2df6f665b2fd16852b
-rw-r--r-- | plugins/org.eclipse.osee.disposition.rest/web/legacy/js/userController.js | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/userController.js b/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/userController.js index b3f954e3ad3..9e71d4dad3a 100644 --- a/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/userController.js +++ b/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/userController.js @@ -315,37 +315,50 @@ app.controller('userController', [ $scope.wideColumns = [{ field: 'name', displayName: 'Name', - width: 350, + width: '22%', cellTemplate: origCellTmpl, headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' }, { field: 'status', displayName: 'Status', - width: 100, + width: '10%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' }, { field: 'totalPoints', displayName: 'Total', - width: 100, + width: '10%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' }, { field: 'failureCount', displayName: 'Failure Count', + width: '7%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' }, { field: 'discrepanciesAsRanges', displayName: 'Failed Points', + width: '15%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' }, { field: 'assignee', displayName: 'Assignee', enableCellEdit: false, cellTemplate: assigneeCellTmpl, + width: '12%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' - }, { + }, + { + field: 'team', + displayName: 'Team', + enableCellEdit: false, + visible: true, + width: '7%', + headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' + }, + { field: 'itemNotes', displayName: 'Script Notes', cellTemplate: cellEditNotes, + width: '10%', headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' },{ field: 'needsRerun', @@ -353,8 +366,9 @@ app.controller('userController', [ enableCellEdit: false, cellTemplate: chkBoxTemplate, sortFn: checkboxSorting, - width: 70 - },{ + width: '5%', + }, + { field: 'lastUpdated', displayName: 'Last Ran', enableCellEdit: false, @@ -398,13 +412,7 @@ app.controller('userController', [ enableCellEdit: false, visible: false, headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' - },{ - field: 'team', - displayName: 'Team', - enableCellEdit: false, - visible: false, - headerCellTemplate: '/dispo/legacy/templates/nameFilterTmpl.html' - }]; + }]; if(window.innerWidth < 1000) { $scope.columns = $scope.smallColumns; |