add translations account confirmation page
This commit is contained in:
parent
b1dfc83c17
commit
f039b6687a
4 changed files with 62 additions and 31 deletions
|
@ -1,33 +1,54 @@
|
||||||
- if deleted_dossiers.present?
|
- if dossiers.present?
|
||||||
%table.table.dossiers-table.hoverable
|
.fr-table.fr-table--bordered
|
||||||
%thead
|
%table.table.dossiers-table.hoverable
|
||||||
%tr
|
%caption= t('views.users.dossiers.dossiers_list.caption')
|
||||||
%th.number-col Nº dossier
|
%thead
|
||||||
%th Démarche
|
%tr
|
||||||
%th Raison de suppression
|
%th.number-col{ scope: :col }= t('views.users.dossiers.dossiers_list.n_dossier')
|
||||||
%th Date de suppression
|
%th{ scope: :col }= t('views.users.dossiers.dossiers_list.procedure')
|
||||||
%tbody
|
- if dossiers.present?
|
||||||
- deleted_dossiers.each do |dossier|
|
%th{ scope: :col }= t('views.users.dossiers.dossiers_list.requester')
|
||||||
- libelle_demarche = Procedure.find(dossier.procedure_id).libelle
|
%th.status-col{ scope: :col }= t('views.users.dossiers.dossiers_list.status')
|
||||||
|
%th.updated-at-col{ scope: :col }= t('views.users.dossiers.dossiers_list.updated')
|
||||||
|
%th.action-col.follow-col{ scope: :col }= t('views.users.dossiers.dossiers_list.actions')
|
||||||
|
%tbody
|
||||||
|
- dossiers.each do |dossier|
|
||||||
|
- if dossier.transfer.present?
|
||||||
|
%tr.fr-background-alt--blue-france.no-border
|
||||||
|
%td.fr-py-2w{ colspan: 100 }
|
||||||
|
.flex.align-center
|
||||||
|
%p.fr-mb-0
|
||||||
|
%small
|
||||||
|
= t('views.users.dossiers.transfers.sender_demande_en_cours', id: dossier.id, email: dossier.transfer.email)
|
||||||
|
.ml-auto
|
||||||
|
= link_to t('views.users.dossiers.transfers.revoke'), transfer_path(dossier.transfer), class: 'fr-btn fr-btn--sm fr-btn--tertiary-no-outline', method: :delete
|
||||||
|
|
||||||
%tr{ data: { 'dossier-id': dossier.dossier_id } }
|
%tr{ data: { 'dossier-id': dossier.id } }
|
||||||
%td.number-col
|
%th.number-col{ scope: :row }
|
||||||
%span.icon.folder
|
= link_to(url_for_dossier(dossier), class: 'cell-link', tabindex: -1) do
|
||||||
= dossier.dossier_id
|
%span.icon.folder
|
||||||
%td
|
= dossier.id
|
||||||
= libelle_demarche
|
%td
|
||||||
|
= link_to(url_for_dossier(dossier), class: 'cell-link') do
|
||||||
|
= procedure_libelle(dossier.procedure)
|
||||||
|
- if dossiers.present?
|
||||||
|
%td
|
||||||
|
%span.cell-link= demandeur_dossier(dossier)
|
||||||
|
%td.status-col
|
||||||
|
= status_badge(dossier.state)
|
||||||
|
%td.updated-at-col.cell-link
|
||||||
|
= try_format_date(dossier.updated_at)
|
||||||
|
%td.action-col.follow-col
|
||||||
|
= render partial: 'dossier_actions', locals: { dossier: dossier }
|
||||||
|
|
||||||
%td.cell-link
|
= paginate(dossiers)
|
||||||
= deletion_reason_badge(dossier.reason)
|
|
||||||
%td
|
|
||||||
= dossier.updated_at.strftime('%d/%m/%Y')
|
|
||||||
|
|
||||||
= paginate(deleted_dossiers)
|
|
||||||
|
|
||||||
- else
|
- else
|
||||||
.blank-tab
|
.blank-tab
|
||||||
%h2.empty-text Aucun dossier.
|
%h2.empty-text
|
||||||
|
= t("views.users.dossiers.account_creation.empty")
|
||||||
%p.empty-text-details
|
%p.empty-text-details
|
||||||
Pour remplir une démarche, contactez votre administration en lui demandant le lien de la démarche.
|
= t("views.users.dossiers.account_creation.detail_one")
|
||||||
%br
|
%p.empty-text-details
|
||||||
Celui ci doit ressembler à #{APPLICATION_BASE_URL}/commencer/xxx.
|
= t("views.users.dossiers.account_creation.detail_two")
|
||||||
|
#{APPLICATION_BASE_URL}/commencer/xxx.
|
||||||
|
|
|
@ -29,8 +29,10 @@
|
||||||
|
|
||||||
- else
|
- else
|
||||||
.blank-tab
|
.blank-tab
|
||||||
%h2.empty-text Aucun dossier.
|
%h2.empty-text
|
||||||
|
= t("views.users.dossiers.account_creation.empty")
|
||||||
%p.empty-text-details
|
%p.empty-text-details
|
||||||
Pour remplir une démarche, contactez votre administration en lui demandant le lien de la démarche.
|
= t("views.users.dossiers.account_creation.detail_one")
|
||||||
%br
|
%p.empty-text-details
|
||||||
Celui ci doit ressembler à #{APPLICATION_BASE_URL}/commencer/xxx.
|
= t("views.users.dossiers.account_creation.detail_two")
|
||||||
|
#{APPLICATION_BASE_URL}/commencer/xxx.
|
||||||
|
|
|
@ -386,6 +386,10 @@ en:
|
||||||
dossier_not_in_instructor_group: "File no. %{dossier_id} of the “%{procedure_libelle}” procedure corresponds to your search, but it is attached to the “%{groupe_instructeur_label}” instructor group."
|
dossier_not_in_instructor_group: "File no. %{dossier_id} of the “%{procedure_libelle}” procedure corresponds to your search, but it is attached to the “%{groupe_instructeur_label}” instructor group."
|
||||||
users:
|
users:
|
||||||
dossiers:
|
dossiers:
|
||||||
|
account_creation:
|
||||||
|
empty: "No file"
|
||||||
|
empty_details_one: "To complete a procedure, contact your administration and ask for the link to the procedure."
|
||||||
|
empty_details_two: "This one should look like"
|
||||||
archived_dossier: "Your file will be kept %{duree_conservation_dossiers_dans_ds} more months"
|
archived_dossier: "Your file will be kept %{duree_conservation_dossiers_dans_ds} more months"
|
||||||
identite:
|
identite:
|
||||||
identity_data: Identity data
|
identity_data: Identity data
|
||||||
|
|
|
@ -387,6 +387,10 @@ fr:
|
||||||
dossier_not_in_instructor_group: "Le dossier n° %{dossier_id} de la procédure « %{procedure_libelle} » correspond à votre recherche mais il est rattaché au groupe d’instructeurs « %{groupe_instructeur_label} »."
|
dossier_not_in_instructor_group: "Le dossier n° %{dossier_id} de la procédure « %{procedure_libelle} » correspond à votre recherche mais il est rattaché au groupe d’instructeurs « %{groupe_instructeur_label} »."
|
||||||
users:
|
users:
|
||||||
dossiers:
|
dossiers:
|
||||||
|
account_creation:
|
||||||
|
empty: "Aucun dossier"
|
||||||
|
detail_one: "Pour remplir une démarche, contactez votre administration en lui demandant le lien de la démarche."
|
||||||
|
detail_two: "Celui ci doit ressembler à"
|
||||||
archived_dossier: "Votre dossier sera conservé %{duree_conservation_dossiers_dans_ds} mois supplémentaire"
|
archived_dossier: "Votre dossier sera conservé %{duree_conservation_dossiers_dans_ds} mois supplémentaire"
|
||||||
identite:
|
identite:
|
||||||
identity_data: Données d’identité
|
identity_data: Données d’identité
|
||||||
|
|
Loading…
Add table
Reference in a new issue