feat(avis): add remind text in view

This commit is contained in:
Eric Leroy-Terquem 2023-01-23 22:10:54 +01:00
parent 004bf5be38
commit 2475bb1098
3 changed files with 5 additions and 0 deletions

View file

@ -40,6 +40,9 @@
- if avis.revokable_by?(current_instructeur) - if avis.revokable_by?(current_instructeur)
| |
= link_to(t('revoke', scope: 'helpers.label'), revoquer_instructeur_avis_path(avis.procedure, avis), data: { confirm: t('revoke', scope: 'helpers.confirmation', email: avis.expert.email) }, method: :patch) = link_to(t('revoke', scope: 'helpers.label'), revoquer_instructeur_avis_path(avis.procedure, avis), data: { confirm: t('revoke', scope: 'helpers.confirmation', email: avis.expert.email) }, method: :patch)
- if avis.reminded_at
%span.date.fr-text--xs.fr-text-mention--grey{ class: highlight_if_unseen_class(avis_seen_at, avis.reminded_at) }
= t('relance_effectuee_le', scope: 'views.shared.avis', date: l(avis.reminded_at, format: '%d/%m/%y à %H:%M'))
- if avis.introduction_file.attached? - if avis.introduction_file.attached?
= render Attachment::ShowComponent.new(attachment: avis.introduction_file.attachment) = render Attachment::ShowComponent.new(attachment: avis.introduction_file.attachment)
.answer-body.mb-3 .answer-body.mb-3

View file

@ -7,6 +7,7 @@ en:
avis: avis:
demande_envoyee_le: "Feedback send at %{date}" demande_envoyee_le: "Feedback send at %{date}"
demande_revoquee_le: "Feedback revoked at %{date}" demande_revoquee_le: "Feedback revoked at %{date}"
relance_effectuee_le: "Revival sent at %{date}"
reponse_donnee_le: "Response sent at %{date}" reponse_donnee_le: "Response sent at %{date}"
en_attente: "Waiting for response" en_attente: "Waiting for response"
france_connect_login: france_connect_login:

View file

@ -7,6 +7,7 @@ fr:
avis: avis:
demande_envoyee_le: "Demande davis envoyée le %{date}" demande_envoyee_le: "Demande davis envoyée le %{date}"
demande_revoquee_le: "Demande davis révoquée le %{date}" demande_revoquee_le: "Demande davis révoquée le %{date}"
relance_effectuee_le: "Relance effectuée le %{date}"
reponse_donnee_le: "Réponse donnée le %{date}" reponse_donnee_le: "Réponse donnée le %{date}"
en_attente: "En attente de réponse" en_attente: "En attente de réponse"
france_connect_login: france_connect_login: