+
{% comment %}
Environmental Impact Assessment
{% endcomment %}
diff --git a/device/urls.py b/device/urls.py
index a56aa29..78922c1 100644
--- a/device/urls.py
+++ b/device/urls.py
@@ -10,5 +10,7 @@ urlpatterns = [
path("/annotation/add", views.AddAnnotationView.as_view(), name="add_annotation"),
path("/document/add", views.AddDocumentView.as_view(), name="add_document"),
path("/public/", views.PublicDeviceWebView.as_view(), name="device_web"),
+ path('/export-environmental-impact-pdf/',
+ views.ExportEnvironmentalImpactPDF.as_view(), name='export_environmental_impact_pdf'),
]
diff --git a/device/views.py b/device/views.py
index 1deb795..bdd4f9e 100644
--- a/device/views.py
+++ b/device/views.py
@@ -169,6 +169,9 @@ class PublicDeviceWebView(TemplateView):
return JsonResponse(device_data)
+class ExportEnvironmentalImpactPDF(DashboardView, TemplateView):
+ pass
+
class AddAnnotationView(DashboardView, CreateView):
template_name = "new_annotation.html"
title = _("New annotation")