From 752f31b9722d15a7857e5ea56966e5f17141d82e 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 --- src/templates/booking/booking_detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/templates/booking/booking_detail.html') diff --git a/src/templates/booking/booking_detail.html b/src/templates/booking/booking_detail.html index c88cd84..4628a62 100644 --- a/src/templates/booking/booking_detail.html +++ b/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