Allow bulk edit of job on time entries

Refs #2188
This commit is contained in:
Trevor Vallender 2024-01-09 09:20:44 +00:00
parent 80d3bc8454
commit bf2a207429
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<p>
<label for="time_entry_job">Job</label>
<%= collection_select :time_entry, :job_id, Job.all, :id, :name, include_blank: true %>
</p>

View File

@ -1,4 +1,5 @@
class JobsHookListener < Redmine::Hook::ViewListener
render_on :view_time_entries_bulk_edit_details_bottom, partial: "time_entries/bulk_edit_details_bottom"
render_on :view_timelog_edit_form_bottom, partial: "time_entries/edit_form_bottom"
render_on :view_users_form, partial: "users/edit_form"
end