Commit b76ae51803e26275a4979bff5de2ac031945cc8e

Authored by Elena.Budnik
1 parent 0f2c5274
Exists in data-activities

data-activities

Showing 1 changed file with 11 additions and 4 deletions   Show diff stats
js/app/views/ExplorerUI.js
... ... @@ -82,15 +82,18 @@ Ext.define('amdaUI.ExplorerUI', {
82 82 {
83 83 RESRC_TAB : {
84 84 TREE_ID:'resourcesTree',
85   - TREE_TYPE:'resources'
  85 + TREE_TYPE:'resources',
  86 + TREE_TITLE:'data'
86 87 },
87 88 OPE_TAB : {
88 89 TREE_ID:'operationsTree',
89   - TREE_TYPE:'operations'
  90 + TREE_TYPE:'operations',
  91 + TREE_TITLE:'activities'
90 92 },
91 93 JOB_TAB : {
92 94 TREE_ID:'jobsTree',
93   - TREE_TYPE:'jobs'
  95 + TREE_TYPE:'jobs',
  96 + TREE_TITLE:'jobs'
94 97 },
95 98  
96 99 CAT_SUFFIX: '-treeBase',
... ... @@ -246,15 +249,19 @@ Ext.define('amdaUI.ExplorerUI', {
246 249 {
247 250 case amdaUI.ExplorerUI.RESRC_TAB.TREE_TYPE:
248 251 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID;
  252 + treeTitle = amdaUI.ExplorerUI.RESRC_TAB.TREE_TITLE;
249 253 break;
250 254 case amdaUI.ExplorerUI.OPE_TAB.TREE_TYPE:
251 255 treeId = amdaUI.ExplorerUI.OPE_TAB.TREE_ID;
  256 + treeTitle = amdaUI.ExplorerUI.OPE_TAB.TREE_TITLE;
252 257 break;
253 258 case amdaUI.ExplorerUI.JOB_TAB.TREE_TYPE:
254 259 treeId = amdaUI.ExplorerUI.JOB_TAB.TREE_ID;
  260 + treeTitle = amdaUI.ExplorerUI.JOB_TAB.TREE_TITLE;
255 261 break;
256 262 default:
257 263 treeId = amdaUI.ExplorerUI.RESRC_TAB.TREE_ID;
  264 + treeTitle = amdaUI.ExplorerUI.RESRC_TAB.TREE_TITLE;
258 265 break;
259 266 }
260 267  
... ... @@ -287,7 +294,7 @@ Ext.define('amdaUI.ExplorerUI', {
287 294  
288 295 var tree = Ext.create('Ext.tree.Panel', {
289 296 id : treeId,
290   - title: treeType,
  297 + title: treeTitle,
291 298 store: store,
292 299 rootVisible: false,
293 300 animate: false,
... ...