Add journals to Jobs to track changes
Redmine uses journals to track changes to Issues. Whilst theoretically a polymorphic association, there are a bunch of places where it is assumed this is an issue, so we have to account for that and start patching things. Refs #3320
This commit is contained in:
parent
5ae0590155
commit
2370033541
|
@ -20,7 +20,7 @@
|
|||
<p>
|
||||
<%= f.label :description %>
|
||||
<%= f.text_area :description, required: true, cols: 60, rows: 15, class: "wiki-edit",
|
||||
data: { auto_complete: true }, id: "job_description" %>
|
||||
data: { auto_complete: true }, id: "job_description" %>
|
||||
|
||||
<%= f.hidden_field :project_id, value: @job.project.id %>
|
||||
|
||||
|
@ -35,14 +35,17 @@
|
|||
<%= ff.hidden_field :_destroy, value: false %>
|
||||
<% end %>
|
||||
</fieldset>
|
||||
<%= wikitoolbar_for 'job_description' %>
|
||||
<%= wikitoolbar_for 'job_description' %>
|
||||
|
||||
|
||||
<% unless @job.new_record? %>
|
||||
<fieldset id="add_notes">
|
||||
<legend>Notes</legend>
|
||||
<%= f.text_area :notes, cols: 60, rows: 15, class: "wiki-edit",
|
||||
data: { auto_complete: true }, id: "job_notes" %>
|
||||
<%= wikitoolbar_for 'job_notes' %>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% unless @job.new_record? %>
|
||||
<%= f.text_area :notes, cols: 60, rows: 15, class: "wiki-edit",
|
||||
data: { auto_complete: true }, id: "job_notes" %>
|
||||
<%= wikitoolbar_for 'job_notes' %>
|
||||
<% end %>
|
||||
<%= f.submit %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue