Skip to content
Snippets Groups Projects

Improve reservation length editing

Merged Michael Fairchild requested to merge time-improvements into master

This does two things:

  1. defaults the reservation length to 1 hour when the length can be selected.
  2. the saved reservation length is selected by default when editing a reservation (instead of defaulting to the 1st option)

I did this assuming that the select is used mostly for room reservations, which are usually one hour reservations (in my experience).

Also, my ruby-fu is lacking, so there might be a better way to do this?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading