summaryrefslogtreecommitdiff
path: root/app/views/version_reports/_main_issue_row.html.erb
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/views/version_reports/_main_issue_row.html.erb
parent3b7fa50318ec8ebad77083ca4cb2188177942b47 (diff)
added option to hide dates and hide budget
Diffstat (limited to 'app/views/version_reports/_main_issue_row.html.erb')
-rw-r--r--app/views/version_reports/_main_issue_row.html.erb4
1 files changed, 3 insertions, 1 deletions
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>