From f9409b70f22db06403a9abef20d6b72b2185578e Mon Sep 17 00:00:00 2001 From: Christophe Ramet Date: Fri, 3 Apr 2026 11:11:59 +0200 Subject: [PATCH] feat: deleted parameter --- backend/geonature/utils/config_schema.py | 1 - config/default_config.toml.example | 2 -- frontend/cypress/fixtures/config.json | 1 - frontend/src/app/metadataModule/metadata.component.html | 1 - 4 files changed, 5 deletions(-) diff --git a/backend/geonature/utils/config_schema.py b/backend/geonature/utils/config_schema.py index d2b078314d..4d73955848 100644 --- a/backend/geonature/utils/config_schema.py +++ b/backend/geonature/utils/config_schema.py @@ -150,7 +150,6 @@ class HomeConfig(Schema): class MetadataConfig(Schema): NB_AF_DISPLAYED = fields.Integer(load_default=50, validate=OneOf([10, 25, 50, 100])) - ENABLE_CLOSE_AF = fields.Boolean(load_default=False) AF_SHEET_CLOSED_LINK_NAME = fields.String(load_default="Lien du certificat de dépôt") CLOSED_AF_TITLE = fields.String(load_default="") AF_PDF_TITLE = fields.String(load_default="Cadre d'acquisition: ") diff --git a/config/default_config.toml.example b/config/default_config.toml.example index a52ba6a074..88e25b730d 100644 --- a/config/default_config.toml.example +++ b/config/default_config.toml.example @@ -608,8 +608,6 @@ MEDIA_CLEAN_CRONTAB = "0 1 * * *" [METADATA] # Nombre de cadre d'acquisition affiché sur la liste NB_AF_DISPLAYED = 100 - # activer la fonctionalité de dépot/publication - ENABLE_CLOSE_AF = false AF_PDF_TITLE = "" DS_PDF_TITLE = "" diff --git a/frontend/cypress/fixtures/config.json b/frontend/cypress/fixtures/config.json index 1a639828d3..33447cf1db 100644 --- a/frontend/cypress/fixtures/config.json +++ b/frontend/cypress/fixtures/config.json @@ -160,7 +160,6 @@ } }], "CD_NOMENCLATURE_ROLE_TYPE_AF": [], - "ENABLE_CLOSE_AF": false, "CLOSED_MODAL_CONTENT": "L'action de fermeture est irr\u00e9versible. Il ne sera\n plus possible d'ajouter des jeux de donn\u00e9es au cadre d'acquisition par la suite.", "CLOSED_AF_TITLE": "", "CD_NOMENCLATURE_ROLE_TYPE_DS": [], diff --git a/frontend/src/app/metadataModule/metadata.component.html b/frontend/src/app/metadataModule/metadata.component.html index bd7690a323..f66bbca479 100644 --- a/frontend/src/app/metadataModule/metadata.component.html +++ b/frontend/src/app/metadataModule/metadata.component.html @@ -174,7 +174,6 @@

{{ 'MetaData.Catalog' | translate }}

" />