Limit User Booking Length and Extensions 87/52687/2
authorSawyer Bergeron <sbergeron@iol.unh.edu>
Mon, 26 Feb 2018 22:52:25 +0000 (17:52 -0500)
committerSawyer Bergeron <sbergeron@iol.unh.edu>
Mon, 26 Mar 2018 18:42:42 +0000 (18:42 +0000)
commitdd7e16215d3bf6bb21a6d4325171d9d556c5da2d
tree4bcc357d920e29c3f74e1a7879f8c77d5c3097c3
parent2085e52073396b265789fecd44a56c3b4e0d4970
Limit User Booking Length and Extensions

Jira: PHAROS-363

Bookings can now only be 3 weeks upon creation with a maximum of 2
1 week extensions.

Change-Id: I677770de3f62f188d23e60be6d71b42b25bf007e
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
dashboard/src/booking/migrations/0004_booking_ext_count.py [new file with mode: 0644]
dashboard/src/booking/models.py
dashboard/src/booking/views.py
dashboard/src/templates/booking/booking_calendar.html
dashboard/src/templates/booking/booking_detail.html