summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-06-10 10:18:36 -0700
committerelijah <elijah@riseup.net>2015-06-10 10:18:36 -0700
commit47b4671c687c0dda05fd09261b660b2c47178231 (patch)
tree56c2472d693a6521273299351fd210ed5d9c9937 /app/controllers
parent3b7fa50318ec8ebad77083ca4cb2188177942b47 (diff)
added option to hide dates and hide budget
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/version_reports_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/version_reports_controller.rb b/app/controllers/version_reports_controller.rb
index 6979943..3933a1b 100644
--- a/app/controllers/version_reports_controller.rb
+++ b/app/controllers/version_reports_controller.rb
@@ -12,6 +12,8 @@ class VersionReportsController < ApplicationController
def show
@show_time = params[:time] != 'false'
@show_money = params[:money] != 'false'
+ @show_dates = params[:dates] != 'false'
+ @show_budget = params[:budget] != 'false'
# the issues fetched here are the top level 'deliverable' issues.
# so, we don't want to include issues from any other projects.
@issues = @version.fixed_issues.where(:project_id => @version.project_id)