2021-07-01 13:36:07 +02:00
|
|
|
"""
|
|
|
|
Author: Michel Peltriaux
|
|
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
|
|
Created on: 30.11.20
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
|
2021-07-30 13:30:42 +02:00
|
|
|
from intervention.views import index_view, new_view, open_view, edit_view, remove_view, new_document_view, share_view, \
|
2021-08-30 11:29:15 +02:00
|
|
|
create_share_view, remove_revocation_view, new_revocation_view, run_check_view, log_view, new_deduction_view, \
|
2021-08-10 17:19:42 +02:00
|
|
|
record_view
|
2021-07-01 13:36:07 +02:00
|
|
|
|
|
|
|
app_name = "intervention"
|
|
|
|
urlpatterns = [
|
|
|
|
path("", index_view, name="index"),
|
|
|
|
path('new/', new_view, name='new'),
|
2021-07-26 15:16:16 +02:00
|
|
|
path('<id>/document/new/', new_document_view, name='new-doc'),
|
2021-07-22 14:58:58 +02:00
|
|
|
path('<id>', open_view, name='open'),
|
2021-08-05 12:54:28 +02:00
|
|
|
path('<id>/log', log_view, name='log'),
|
2021-07-22 14:58:58 +02:00
|
|
|
path('<id>/edit', edit_view, name='edit'),
|
|
|
|
path('<id>/remove', remove_view, name='remove'),
|
2021-07-30 13:30:42 +02:00
|
|
|
path('<id>/share/<token>', share_view, name='share'),
|
|
|
|
path('<id>/share', create_share_view, name='share-create'),
|
2021-08-04 15:19:06 +02:00
|
|
|
path('<id>/check', run_check_view, name='run-check'),
|
2021-08-10 17:19:42 +02:00
|
|
|
path('<id>/record', record_view, name='record'),
|
2021-08-04 13:32:35 +02:00
|
|
|
|
2021-08-30 11:29:15 +02:00
|
|
|
# Deductions
|
|
|
|
path('<id>/deduction/new', new_deduction_view, name='acc-new-deduction'),
|
2021-08-10 10:42:04 +02:00
|
|
|
|
2021-08-04 13:32:35 +02:00
|
|
|
# Revocation routes
|
2021-08-10 10:42:04 +02:00
|
|
|
path('<id>/revocation/new', new_revocation_view, name='new-revocation'),
|
|
|
|
path('revocation/<id>/remove', remove_revocation_view, name='remove-revocation'),
|
2021-07-01 13:36:07 +02:00
|
|
|
]
|