summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/booking/booking_calendar.html
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-13 17:53:56 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-19 21:16:25 +0000
commit936a1a26401dc39e12209d9ff94404351a646d17 (patch)
tree68a3cbefb852a316c3ce54813432c93b8e43b2c1 /dashboard/src/templates/booking/booking_calendar.html
parent1fd014d20886727b3c8eb1861afb58b91c2dfa74 (diff)
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 <sbergeron@iol.unh.edu>
Diffstat (limited to 'dashboard/src/templates/booking/booking_calendar.html')
-rw-r--r--dashboard/src/templates/booking/booking_calendar.html3
1 files changed, 2 insertions, 1 deletions
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 @@
<script type="text/javascript">
var bookings_url = "{% url 'booking:bookings_json' resource_id=resource.id %}";
var booking_detail_prefix = "{% url 'booking:detail_prefix' %}";
+ var booking_delete_prefix = "{% url 'booking:delete_prefix' %}";
var user_timezone = "{{ request.user.userprofile.timezone }}"
</script>
@@ -123,4 +124,4 @@
<script src={% static "js/fullcalendar-options.js" %}></script>
<script src={% static "js/datetimepicker-options.js" %}></script>
<script src={% static "js/booking-calendar.js" %}></script>
-{% endblock extrajs %}
+{% endblock extrajs %} \ No newline at end of file