feat(manager): display hidden_by_user_at and hidden_by_administration_at in manager views
This commit is contained in:
parent
51d7fd6190
commit
d3ceba8955
1 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,8 @@ class DossierDashboard < Administrate::BaseDashboard
|
||||||
text_summary: Field::String.with_options(searchable: false),
|
text_summary: Field::String.with_options(searchable: false),
|
||||||
created_at: Field::DateTime,
|
created_at: Field::DateTime,
|
||||||
updated_at: Field::DateTime,
|
updated_at: Field::DateTime,
|
||||||
hidden_at: Field::DateTime,
|
hidden_by_user_at: Field::DateTime,
|
||||||
|
hidden_by_administration_at: Field::DateTime,
|
||||||
champs: ChampCollectionField
|
champs: ChampCollectionField
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
|
@ -41,7 +42,8 @@ class DossierDashboard < Administrate::BaseDashboard
|
||||||
:champs,
|
:champs,
|
||||||
:created_at,
|
:created_at,
|
||||||
:updated_at,
|
:updated_at,
|
||||||
:hidden_at
|
:hidden_by_user_at,
|
||||||
|
:hidden_by_administration_at
|
||||||
].freeze
|
].freeze
|
||||||
|
|
||||||
# FORM_ATTRIBUTES
|
# FORM_ATTRIBUTES
|
||||||
|
|
Loading…
Reference in a new issue