removing velocity_based_estimate as long as scrum_statistics are disabled

pull/6827/head
Jens Ulferts 14 years ago
parent 16e9d592b7
commit 3514bcf7c6
  1. 5
      lib/backlogs_hooks.rb

@ -43,8 +43,9 @@ module BacklogsPlugin
if issue.is_story?
snippet += "<tr><th>#{l(:field_story_points)}</th><td>#{Story.find(issue.id).points_display}</td></tr>"
vbe = issue.velocity_based_estimate
snippet += "<tr><th>#{l(:field_velocity_based_estimate)}</th><td>#{vbe ? vbe.to_s + ' days' : '-'}</td></tr>"
#disabled as long as scrum statistics are disabled
#vbe = issue.velocity_based_estimate
#snippet += "<tr><th>#{l(:field_velocity_based_estimate)}</th><td>#{vbe ? vbe.to_s + ' days' : '-'}</td></tr>"
end
if issue.is_task? || (issue.is_story? && issue.descendants.length == 0)

Loading…
Cancel
Save