Add sending of html email for the request

This commit is contained in:
Tom Price
2017-05-09 18:34:47 +01:00
parent 331dab20f7
commit f57ac3acb1
8 changed files with 169 additions and 10 deletions

View File

@@ -155,6 +155,11 @@ urlpatterns = patterns('',
rigboard.EventAuthorisationRequest.as_view()
),
name='event_authorise_request'),
url(r'^event/(?P<pk>\d+)/auth/preview/$',
permission_required_with_403('RIGS.change_event')(
rigboard.EventAuthoriseRequestEmailPreview.as_view()
),
name='event_authorise_preview'),
url(r'^event/(?P<pk>\d+)/(?P<hmac>[-:\w]+)/$', rigboard.EventAuthorise.as_view(),
name='event_authorise'),