2021-08-19 13:02:31 +02:00
|
|
|
"""
|
|
|
|
Author: Michel Peltriaux
|
|
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
|
|
Created on: 19.08.21
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
2021-08-19 13:44:06 +02:00
|
|
|
from ema.views import *
|
2021-08-19 13:02:31 +02:00
|
|
|
|
|
|
|
app_name = "ema"
|
|
|
|
urlpatterns = [
|
|
|
|
path("", index_view, name="index"),
|
|
|
|
path("new/", new_view, name="new"),
|
2021-10-06 16:00:17 +02:00
|
|
|
path("new/id", new_id_view, name="new-id"),
|
2021-10-13 09:26:46 +02:00
|
|
|
path("<id>", detail_view, name="detail"),
|
2021-08-19 13:44:06 +02:00
|
|
|
path('<id>/log', log_view, name='log'),
|
|
|
|
path('<id>/edit', edit_view, name='edit'),
|
|
|
|
path('<id>/remove', remove_view, name='remove'),
|
|
|
|
path('<id>/record', record_view, name='record'),
|
2021-10-13 17:35:11 +02:00
|
|
|
path('<id>/report', report_view, name='report'),
|
2021-08-19 13:44:06 +02:00
|
|
|
path('<id>/state/new', state_new_view, name='new-state'),
|
|
|
|
path('<id>/action/new', action_new_view, name='new-action'),
|
2021-11-09 13:06:22 +01:00
|
|
|
path('<id>/state/<state_id>/remove', state_remove_view, name='state-remove'),
|
|
|
|
path('<id>/action/<action_id>/remove', action_remove_view, name='action-remove'),
|
2022-02-02 11:26:02 +01:00
|
|
|
path('<id>/deadline/<deadline_id>/remove', deadline_remove_view, name='deadline-remove'),
|
2021-08-19 13:44:06 +02:00
|
|
|
path('<id>/deadline/new', deadline_new_view, name="new-deadline"),
|
2021-10-26 15:09:30 +02:00
|
|
|
path('<id>/share/<token>', share_view, name='share'),
|
|
|
|
path('<id>/share', create_share_view, name='share-create'),
|
2021-08-19 13:44:06 +02:00
|
|
|
|
|
|
|
# Documents
|
|
|
|
path('<id>/document/new/', document_new_view, name='new-doc'),
|
2021-09-01 16:24:49 +02:00
|
|
|
path('document/<doc_id>', get_document_view, name='get-doc'),
|
|
|
|
path('document/<doc_id>/remove/', remove_document_view, name='remove-doc'),
|
2021-08-19 13:44:06 +02:00
|
|
|
|
2021-08-19 13:02:31 +02:00
|
|
|
]
|