style(demande): fix identity updated at mention
This commit is contained in:
parent
899f671aed
commit
acd95177d4
3 changed files with 10 additions and 7 deletions
|
@ -13,7 +13,13 @@
|
|||
|
||||
.tab-title
|
||||
%h2.fr-h6.fr-background-alt--grey.fr-mb-0.flex
|
||||
.flex-grow.fr-py-3v.fr-px-4v= t('views.shared.dossiers.demande.requester_identity')
|
||||
.flex-grow.fr-py-3v.fr-px-4v
|
||||
= t('views.shared.dossiers.demande.requester_identity')
|
||||
|
||||
- if dossier.identity_updated_at.present? && demande_seen_at&.<(dossier.identity_updated_at)
|
||||
%span.fr-badge.fr-badge--new.fr-badge--sm
|
||||
= t('views.shared.dossiers.demande.requester_identity_updated_at', date: try_format_datetime(dossier.identity_updated_at))
|
||||
|
||||
- if dossier.etablissement.present? && profile == 'usager' && !dossier.read_only?
|
||||
= link_to t('views.shared.dossiers.demande.edit_siret'), siret_dossier_path(dossier), class: 'fr-py-3v fr-btn fr-btn--tertiary-no-outline'
|
||||
|
||||
|
@ -21,11 +27,6 @@
|
|||
= link_to t('views.shared.dossiers.demande.edit_identity'), identite_dossier_path(dossier), class: 'fr-py-3v fr-btn fr-btn--tertiary-no-outline'
|
||||
|
||||
|
||||
- if dossier.identity_updated_at.present? && demande_seen_at&.<(dossier.identity_updated_at)
|
||||
%span.highlighted
|
||||
modifié le
|
||||
= try_format_datetime(dossier.identity_updated_at)
|
||||
|
||||
.fr-my-4v.fr-px-4v
|
||||
= render partial: "shared/dossiers/user_infos", locals: { user_deleted: dossier.user_deleted?, email: dossier.user_email_for(:display) }
|
||||
|
||||
|
|
|
@ -331,7 +331,7 @@ en:
|
|||
best_regards: Best Regards,
|
||||
dossiers:
|
||||
form:
|
||||
updated_at: "updated at %{datetime}"
|
||||
updated_at: "updated on %{datetime}"
|
||||
edit:
|
||||
autosave: Your file is automatically saved after each modification. You can close the window at any time and pick up where you left off later.
|
||||
notice: "Download the notice of the procedure"
|
||||
|
@ -344,6 +344,7 @@ en:
|
|||
write_message_to_administration_placeholder: "Write your message to the administration here"
|
||||
demande:
|
||||
requester_identity: "Identity of the requester"
|
||||
requester_identity_updated_at: "updated on %{date}"
|
||||
my_identity: "My identity"
|
||||
form: "Form"
|
||||
edit_siret: "Edit SIRET"
|
||||
|
|
|
@ -345,6 +345,7 @@ fr:
|
|||
demande:
|
||||
en_construction: "Date de dépôt du dossier"
|
||||
requester_identity: "Identité du demandeur"
|
||||
requester_identity_updated_at: "modifiée le %{date}"
|
||||
my_identity: "Mon identité"
|
||||
form: "Sections du formulaire"
|
||||
edit_siret: "Modifier le SIRET"
|
||||
|
|
Loading…
Reference in a new issue