Merge pull request #3178 from betagouv/add-annotations-privees-to-manager

Add annotations privées to procedure page on manager
This commit is contained in:
Mathieu Magnin 2018-12-18 12:20:26 +01:00 committed by GitHub
commit 8be7f593f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = { ATTRIBUTE_TYPES = {
types_de_piece_justificative: TypesDePieceJustificativeCollectionField, types_de_piece_justificative: TypesDePieceJustificativeCollectionField,
types_de_champ: TypesDeChampCollectionField, types_de_champ: TypesDeChampCollectionField,
types_de_champ_private: TypesDeChampCollectionField,
path: ProcedureLinkField, path: ProcedureLinkField,
dossiers: Field::HasMany, dossiers: Field::HasMany,
gestionnaires: Field::HasMany, gestionnaires: Field::HasMany,
@ -68,6 +69,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:hidden_at, :hidden_at,
:archived_at, :archived_at,
:types_de_champ, :types_de_champ,
:types_de_champ_private,
:types_de_piece_justificative, :types_de_piece_justificative,
:for_individual, :for_individual,
:individual_with_siret, :individual_with_siret,