Compare commits

...

2 Commits

Author SHA1 Message Date
Trevor Vallender bf2a207429 Allow bulk edit of job on time entries
Refs #2188
2024-01-09 09:20:44 +00:00
Trevor Vallender 80d3bc8454 Correct view dir name
Refs #2188
2024-01-09 08:43:24 +00:00
3 changed files with 6 additions and 1 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,5 +1,6 @@
class JobsHookListener < Redmine::Hook::ViewListener
render_on :view_timelog_edit_form_bottom, partial: "timelogs/edit_form_bottom"
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