diff --git a/app/views/new_gestionnaire/avis/instruction.html.haml b/app/views/new_gestionnaire/avis/instruction.html.haml index 35e545155..1cdeba6d6 100644 --- a/app/views/new_gestionnaire/avis/instruction.html.haml +++ b/app/views/new_gestionnaire/avis/instruction.html.haml @@ -8,7 +8,7 @@ %h2.claimant Demandeur : %span.email= @avis.claimant.email - %span.date Demande d'avis envoyée le #{I18n.l(@avis.created_at, format: '%d/%m/%y')} + %span.date Demande d'avis envoyée le #{l(@avis.created_at, format: '%d/%m/%y')} %p.introduction= @avis.introduction = form_for @avis, url: gestionnaire_avis_path(@avis), html: { class: 'form' } do |f| diff --git a/app/views/new_gestionnaire/shared/avis/_list.html.haml b/app/views/new_gestionnaire/shared/avis/_list.html.haml index 8bbc4654d..3de3b5040 100644 --- a/app/views/new_gestionnaire/shared/avis/_list.html.haml +++ b/app/views/new_gestionnaire/shared/avis/_list.html.haml @@ -15,7 +15,7 @@ confidentiel %span.icon.lock{ title: "Cet avis n'est pas affiché avec les autres experts consultés" } %span.date{ class: highlight_if_unseen_class(avis_seen_at, avis.created_at) } - Demande d'avis envoyée le #{I18n.l(avis.created_at, format: '%d/%m/%y à %H:%M')} + Demande d'avis envoyée le #{l(avis.created_at, format: '%d/%m/%y à %H:%M')} %p= avis.introduction .answer.flex.align-start @@ -25,7 +25,7 @@ = (avis.email_to_display == current_gestionnaire.email) ? 'Vous' : avis.email_to_display - if avis.answer.present? %span.date{ class: highlight_if_unseen_class(avis_seen_at, avis.updated_at) } - Réponse donnée le #{I18n.l(avis.updated_at, format: '%d/%m/%y à %H:%M')} + Réponse donnée le #{l(avis.updated_at, format: '%d/%m/%y à %H:%M')} - else %span.waiting En attente de réponse %p= avis.answer