diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2016-08-25 12:05:19 +0200 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2016-08-25 12:05:19 +0200 |
commit | e040d30e0a61077f2777beba5853103f327ec130 (patch) | |
tree | b5306d51e8ca89f974a427a4e36afcf1e8a082f9 /pharos-dashboard/booking/urls.py | |
parent | 6a7f6ab08eee8c2d6fdf600e699feb941e85d033 (diff) |
Add a Booking detail view
JIRA: RELENG-12
This adds a pop-up to the booking calendar, containing information
about a selected booking.
Change-Id: Ie780006963cb927d073103edbaefbdab3de403fb
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/booking/urls.py')
-rw-r--r-- | pharos-dashboard/booking/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pharos-dashboard/booking/urls.py b/pharos-dashboard/booking/urls.py index 37f0c6b..f6429da 100644 --- a/pharos-dashboard/booking/urls.py +++ b/pharos-dashboard/booking/urls.py @@ -21,4 +21,6 @@ urlpatterns = [ url(r'^(?P<resource_id>[0-9]+)/$', BookingFormView.as_view(), name='create'), url(r'^(?P<resource_id>[0-9]+)/bookings_json/$', ResourceBookingsJSON.as_view(), name='bookings_json'), + url(r'^detail/$', BookingView.as_view(), name='detail_prefix'), + url(r'^detail/(?P<booking_id>[0-9]+)/$', BookingView.as_view(), name='detail'), ] |