From 0201feec65b57b48157903ff89def279e5c8af1a Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 10 Sep 2024 18:16:40 +0200 Subject: [PATCH] feat(manager): can hide instructeurs email from procedure --- app/dashboards/procedure_dashboard.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/dashboards/procedure_dashboard.rb b/app/dashboards/procedure_dashboard.rb index 99c9f22c6..79f77b233 100644 --- a/app/dashboards/procedure_dashboard.rb +++ b/app/dashboards/procedure_dashboard.rb @@ -51,7 +51,8 @@ class ProcedureDashboard < Administrate::BaseDashboard for_tiers_enabled: Field::Boolean, replaced_by_procedure_id: Field::String, tags: Field::Text, - template: Field::Boolean + template: Field::Boolean, + hide_instructeurs_email: Field::Boolean }.freeze # COLLECTION_ATTRIBUTES @@ -113,6 +114,7 @@ class ProcedureDashboard < Administrate::BaseDashboard :estimated_duration_visible, :piece_justificative_multiple, :for_tiers_enabled, + :hide_instructeurs_email, :replaced_by_procedure_id ].freeze @@ -126,6 +128,7 @@ class ProcedureDashboard < Administrate::BaseDashboard :estimated_duration_visible, :piece_justificative_multiple, :for_tiers_enabled, + :hide_instructeurs_email, :replaced_by_procedure_id ].freeze