style(demande): match general dates with mockup
This commit is contained in:
parent
ea559edb92
commit
8724212d83
3 changed files with 11 additions and 8 deletions
|
@ -1,27 +1,28 @@
|
|||
%div
|
||||
%p.fr-my-4v.fr-px-4v.fr-text-action-high--grey
|
||||
= l(dossier.depose_at, format: '%d %B %Y %H:%m')
|
||||
%p.fr-my-2w.fr-px-4v
|
||||
= t(:submitted_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.depose_at))
|
||||
%br
|
||||
- if dossier.updated_at != dossier.depose_at
|
||||
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.updated_at, format: :long))
|
||||
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.updated_at))
|
||||
|
||||
|
||||
- if dossier.justificatif_motivation.attached?
|
||||
.fr-my-4v.fr-px-4v
|
||||
%p.fr-text-action-high--grey.fr-mb-0 Justificatif :
|
||||
%p.champ-label Justificatif :
|
||||
.champ-content.fr-text-action-high--grey
|
||||
.action
|
||||
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
|
||||
|
||||
- if dossier.motivation.present?
|
||||
.fr-my-4v.fr-px-4v
|
||||
%p.fr-text-action-high--grey.fr-mb-0 Motivation :
|
||||
%p.champ-label Motivation :
|
||||
.champ-content.fr-text-action-high--grey
|
||||
.action
|
||||
= dossier.motivation
|
||||
|
||||
- if dossier.attestation.present?
|
||||
.fr-my-4v.fr-px-4v
|
||||
%p.fr-text-action-high--grey.fr-mb-0 Attestation :
|
||||
%p.champ-label Attestation :
|
||||
.champ-content.fr-text-action-high--grey
|
||||
.action
|
||||
= link_to('Voir l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
|
||||
|
|
|
@ -331,7 +331,8 @@ en:
|
|||
best_regards: Best Regards,
|
||||
dossiers:
|
||||
form:
|
||||
updated_at: "updated on %{datetime}"
|
||||
submitted_at: "Submitted on %{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"
|
||||
|
|
|
@ -331,7 +331,8 @@ fr:
|
|||
best_regards: Bonne journée,
|
||||
dossiers:
|
||||
form:
|
||||
updated_at: "modifié le %{datetime}"
|
||||
submitted_at: "Déposé le %{datetime}"
|
||||
updated_at: "Modifié le %{datetime}"
|
||||
edit:
|
||||
autosave: Votre dossier est enregistré automatiquement après chaque modification. Vous pouvez à tout moment fermer la fenêtre et reprendre plus tard là où vous en étiez.
|
||||
notice: Télécharger le guide de la démarche
|
||||
|
|
Loading…
Reference in a new issue