From 936a1a26401dc39e12209d9ff94404351a646d17 Mon Sep 17 00:00:00 2001
From: Sawyer Bergeron
Date: Tue, 13 Feb 2018 17:53:56 -0500
Subject: Provide Interface for Booking Deletion
Jira: PHAROS-355
User can now delete their own booking by going to the detail view of their booking
and clicking 'delete'
Change-Id: I279da364c2a5dfd03b877d1236c610d0fef563bc
Signed-off-by: Sawyer Bergeron
---
.../src/templates/booking/booking_calendar.html | 3 +-
.../src/templates/booking/booking_delete.html | 11 +++++++
.../src/templates/booking/booking_detail.html | 34 +++++++++++++++++++++-
3 files changed, 46 insertions(+), 2 deletions(-)
create mode 100644 dashboard/src/templates/booking/booking_delete.html
(limited to 'dashboard/src/templates/booking')
diff --git a/dashboard/src/templates/booking/booking_calendar.html b/dashboard/src/templates/booking/booking_calendar.html
index 52193d5..2e3f970 100644
--- a/dashboard/src/templates/booking/booking_calendar.html
+++ b/dashboard/src/templates/booking/booking_calendar.html
@@ -113,6 +113,7 @@
@@ -123,4 +124,4 @@
-{% endblock extrajs %}
+{% endblock extrajs %}
\ No newline at end of file
diff --git a/dashboard/src/templates/booking/booking_delete.html b/dashboard/src/templates/booking/booking_delete.html
new file mode 100644
index 0000000..76a5634
--- /dev/null
+++ b/dashboard/src/templates/booking/booking_delete.html
@@ -0,0 +1,11 @@
+{% load jira_filters %}
+{% load bootstrap3 %}
+
+
+ Really delete Booking from {{ booking.start}} to {{ booking.end }}?
+
+
+
+
\ No newline at end of file
diff --git a/dashboard/src/templates/booking/booking_detail.html b/dashboard/src/templates/booking/booking_detail.html
index dd0bf03..c88cd84 100644
--- a/dashboard/src/templates/booking/booking_detail.html
+++ b/dashboard/src/templates/booking/booking_detail.html
@@ -1,5 +1,22 @@
{% load jira_filters %}
+
+
Resource:
@@ -33,6 +50,21 @@
Edit Booking
+
+ Delete Booking
+
+
{% endif %}
-{% endif %}
+{% endif %}
\ No newline at end of file
--
cgit 1.2.3-korg