From de1d85ac39d5026796924ff0e26253a57d9f5d29 Mon Sep 17 00:00:00 2001 From: Chatewgne Date: Tue, 2 Jan 2024 09:52:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20[IMPR]=20Fix=20report=20interven?= =?UTF-8?q?tion=20display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feedback/templates/feedback/report_detail_attributes.html | 2 +- geotrek/maintenance/forms.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/geotrek/feedback/templates/feedback/report_detail_attributes.html b/geotrek/feedback/templates/feedback/report_detail_attributes.html index 2b91ae22b3..fd53894f73 100644 --- a/geotrek/feedback/templates/feedback/report_detail_attributes.html +++ b/geotrek/feedback/templates/feedback/report_detail_attributes.html @@ -125,7 +125,7 @@

{% trans "Attributes" %}

{% if perms.maintenance.add_intervention %}

{% trans "Intervention" %}

- {% with columns="name,status,stake,total_cost,begin_date" %} + {% with columns="name,status,stake,total_cost,begin_date,end_date" %} {% valuetable report.interventions.all columns=columns %} {% endwith %} {% if not suricate_workflow_enabled %} diff --git a/geotrek/maintenance/forms.py b/geotrek/maintenance/forms.py index 3374511df0..10b514d225 100644 --- a/geotrek/maintenance/forms.py +++ b/geotrek/maintenance/forms.py @@ -73,7 +73,6 @@ class InterventionForm(CommonForm): widget=forms.DateInput(attrs={"data-date-orientation": "bottom auto"}), ) - geomfields = ['topology'] leftpanel_scrollable = False