diff options
author | elijah <elijah@riseup.net> | 2015-06-10 10:18:36 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-06-10 10:18:36 -0700 |
commit | 47b4671c687c0dda05fd09261b660b2c47178231 (patch) | |
tree | 56c2472d693a6521273299351fd210ed5d9c9937 /app/views | |
parent | 3b7fa50318ec8ebad77083ca4cb2188177942b47 (diff) |
added option to hide dates and hide budget
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/hooks/_view_report_link.html.erb | 2 | ||||
-rw-r--r-- | app/views/version_reports/_main_issue_row.html.erb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/hooks/_view_report_link.html.erb b/app/views/hooks/_view_report_link.html.erb index b9758a3..665e066 100644 --- a/app/views/hooks/_view_report_link.html.erb +++ b/app/views/hooks/_view_report_link.html.erb @@ -4,4 +4,6 @@ <button type="submit">Detailed Report</button><br> <label><input type="checkbox" name="time" value="false">Hide Time</label><br> <label><input type="checkbox" name="money" value="false">Hide Money</label><br> + <label><input type="checkbox" name="dates" value="false">Hide Dates</label><br> + <label><input type="checkbox" name="budget" value="false">Hide Budget</label><br> </form> diff --git a/app/views/version_reports/_main_issue_row.html.erb b/app/views/version_reports/_main_issue_row.html.erb index 8ca4904..dc4d3f6 100644 --- a/app/views/version_reports/_main_issue_row.html.erb +++ b/app/views/version_reports/_main_issue_row.html.erb @@ -13,7 +13,9 @@ </tr> <tr> <td colspan="3"> - From <%= issue.start_date %> to <%= issue.due_date %>. + <%- if @show_dates -%> + From <%= issue.start_date %> to <%= issue.due_date %>. + <%- end -%> <div class="wiki"> <%= textilizable issue, :description %> </div> |