1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-23 00:41:14 +00:00

Display calendar for dates independent of subtasks (#21219).

Patch by Codrut Constantin Gusoi.

git-svn-id: http://svn.redmine.org/redmine/trunk@14973 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-12-13 14:53:11 +00:00
parent a5fd84f00e
commit 46e1c6a2fe

View File

@ -49,14 +49,14 @@
<% if @issue.safe_attribute? 'start_date' %>
<p id="start_date_area">
<%= f.text_field(:start_date, :size => 10, :required => @issue.required_attribute?('start_date')) %>
<%= calendar_for('issue_start_date') if @issue.leaf? %>
<%= calendar_for('issue_start_date') %>
</p>
<% end %>
<% if @issue.safe_attribute? 'due_date' %>
<p id="due_date_area">
<%= f.text_field(:due_date, :size => 10, :required => @issue.required_attribute?('due_date')) %>
<%= calendar_for('issue_due_date') if @issue.leaf? %>
<%= calendar_for('issue_due_date') %>
</p>
<% end %>