fix(dossier): harmonize merci message from admin apercu to user

This commit is contained in:
Lisa Durand 2024-02-07 16:42:33 +01:00 committed by Colin Darie
parent f15966bddb
commit f57be9e455

View file

@ -11,7 +11,7 @@
%strong= t('views.users.dossiers.merci.dossier_acces_l2')
%p.m-2
= t('views.users.dossiers.merci.dossier_edit_l1')
- if !dossier&.read_only?
- if !dossier&.read_only? && !procedure.declarative_accepte? && !procedure.sva_svr_enabled?
%strong= t('views.users.dossiers.merci.dossier_edit_l2')
= t('views.users.dossiers.merci.dossier_edit_l3')
%strong= t('views.users.dossiers.merci.dossier_edit_l4')