0001-Display-calendar-for-dates-independent-of-subtasks.patch

Codruț Gușoi, 2015-12-09 12:05

Download (1.21 KB)

View differences:

app/views/issues/_attributes.html.erb
49 49
<% if @issue.safe_attribute? 'start_date' %>
50 50
<p id="start_date_area">
51 51
  <%= f.text_field(:start_date, :size => 10, :required => @issue.required_attribute?('start_date')) %>
52
  <%= calendar_for('issue_start_date') if @issue.leaf? %>
52
  <%= calendar_for('issue_start_date') %>
53 53
</p>
54 54
<% end %>
55 55

  
56 56
<% if @issue.safe_attribute? 'due_date' %>
57 57
<p id="due_date_area">
58 58
  <%= f.text_field(:due_date, :size => 10, :required => @issue.required_attribute?('due_date')) %>
59
  <%= calendar_for('issue_due_date') if @issue.leaf? %>
59
  <%= calendar_for('issue_due_date') %>
60 60
</p>
61 61
<% end %>
62 62

  
63
-