From 0bc50e0875892f8fbd96ca10a905c1836b3eeb07 Mon Sep 17 00:00:00 2001 From: zenocide 17 Date: Mon, 11 Feb 2013 16:02:45 -0500 Subject: [PATCH] User Story, Defect, and Task ids are now links to their corresponding item --- deploy/App.html | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/deploy/App.html b/deploy/App.html index b2980d7..85d5d3a 100644 --- a/deploy/App.html +++ b/deploy/App.html @@ -72,8 +72,8 @@ "tasks" : "/tasks?fetch=taskindex,name,objectid,formattedid,owner,blocked,estimate,todo,actuals,state,workproduct&query=(Iteration = ${iteration})" + scoping + paging, - "stories" : "/hierarchicalrequirement?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,tasks&order=Rank&query=(Iteration = ${iteration})" + scoping + paging, - "defects" : "/defect?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&order=Rank&query=(Iteration = ${iteration})" + scoping + paging, + "stories" : "/hierarchicalrequirement?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,tasks,planEstimate&order=Rank&query=(Iteration = ${iteration})" + scoping + paging, + "defects" : "/defect?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal,planEstimate&order=Rank&query=(Iteration = ${iteration})" + scoping + paging, "defectsuite" : "/defectsuite?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&order=Rank&query=(Iteration = ${iteration})" + scoping + paging, "testsets" : "/testset?fetch=rank,blocked,formattedid,name,objectid,owner,project,schedulestate,taskestimatetotal,taskremainingtotal,taskactualtotal&query=(Iteration = ${iteration})" + scoping + paging }; @@ -173,8 +173,22 @@ }); html.push('
' + state.display(false, value.ScheduleState == 'Accepted') + '
'); - html.push('
' + value.FormattedID + '
'); - html.push('
' + RALLY.toolkit.niceSubstring(value.Name, 100) + '
'); + + var storyType; + switch(value.FormattedID.substring(0,2)) + { + case "US": + storyType = "userstory"; + break; + case "DE": + storyType = "defect"; + break; + } + + html.push('
' + value.FormattedID + '
'); + html.push('
Story Points: ' + value.PlanEstimate + '
'); + html.push('
'); + html.push('
' + RALLY.toolkit.niceSubstring(value.Name, 100) + '
'); html.push('
' + owner + '
'); html.push(renderTimeCell((schema.TaskEstimateTotal) ? schema.TaskEstimateTotal.DisplayName : 'Est', value.TaskEstimateTotal, timeClass.join(' '))); @@ -258,7 +272,7 @@ } html.push('
'); - html.push('
' + item.FormattedID + '
'); + html.push(''); html.push('
' + RALLY.toolkit.niceSubstring(item.Name) + '
'); html.push('
' + owner + '
');