Merge pull request #8855 from demarches-simplifiees/8854-manager-zones

WIP [manager] affiche les zones d'une procédure donnée
This commit is contained in:
krichtof 2023-04-04 14:50:38 +00:00 committed by GitHub
commit 7250c0cca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
id: Field::Number.with_options(searchable: true),
libelle: Field::String,
description: Field::String,
zone: Field::BelongsTo,
zones: Field::HasMany,
lien_site_web: Field::String, # TODO: use Field::Url when administrate-v0.12 will be released
organisation: Field::String,
created_at: Field::DateTime,
@ -52,7 +52,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:id,
:created_at,
:libelle,
:zone,
:zones,
:service,
:dossiers,
:published_at,
@ -70,7 +70,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:tags,
:lien_site_web,
:organisation,
:zone,
:zones,
:service,
:created_at,
:updated_at,