From dd7e16215d3bf6bb21a6d4325171d9d556c5da2d Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Mon, 26 Feb 2018 17:52:25 -0500 Subject: 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 --- dashboard/src/templates/booking/booking_detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dashboard/src/templates/booking/booking_detail.html') diff --git a/dashboard/src/templates/booking/booking_detail.html b/dashboard/src/templates/booking/booking_detail.html index c88cd84..4628a62 100644 --- a/dashboard/src/templates/booking/booking_detail.html +++ b/dashboard/src/templates/booking/booking_detail.html @@ -44,6 +44,10 @@

Scenario: {{ booking.scenario }}

+

+ Extensions Remaining: {{ booking.ext_count }} +

+ {% if user.is_authenticated %} {% if user.get_username == booking.user.username %}

@@ -67,4 +71,4 @@

{% endif %} -{% endif %} \ No newline at end of file +{% endif %} -- cgit 1.2.3-korg