fix(demande): extract missing i18n title
This commit is contained in:
parent
c46192f21e
commit
f4f036ce81
5 changed files with 8 additions and 10 deletions
|
@ -20,4 +20,4 @@
|
|||
.fr-grid-row
|
||||
.fr-col-xl-8.fr-col-offset-xl-2
|
||||
%p= link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(@dossier), class: 'fr-btn fr-btn-sm',
|
||||
title: "Modifier mon dossier tant qu'il n'est pas passé en instruction"
|
||||
title: t('views.users.dossiers.demande.edit_dossier_title')
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
.header-actions
|
||||
= render partial: 'invites/dropdown', locals: { dossier: dossier, morphing: false }
|
||||
- if dossier.can_be_updated_by_user? && !current_page?(modifier_dossier_path(dossier))
|
||||
= link_to t('views.users.dossiers.show.header.edit_dossier'), modifier_dossier_path(dossier), class: 'fr-btn fr-btn-sm',
|
||||
title: t('views.users.dossiers.show.header.edit_dossier_title')
|
||||
= link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(dossier), class: 'fr-btn fr-btn-sm',
|
||||
title: t('views.users.dossiers.demande.edit_dossier_title')
|
||||
= render(partial: 'users/dossiers/show/print_dossier', locals: { dossier: dossier })
|
||||
|
||||
%nav.tabs
|
||||
|
|
|
@ -423,8 +423,6 @@ en:
|
|||
submit_dossier: Submit an other file
|
||||
show:
|
||||
header:
|
||||
edit_dossier: Edit my file
|
||||
edit_dossier_title: "Edit my file - You can modify your file as long as it has not been sent for processing"
|
||||
summary: "Summary"
|
||||
request: "Request"
|
||||
mailbox: "Mailbox"
|
||||
|
@ -454,7 +452,8 @@ en:
|
|||
messagerie:
|
||||
mailbox: "The mailbox allows you to contact the instructor in charge of your file."
|
||||
demande:
|
||||
edit_dossier: "Edit file"
|
||||
edit_dossier: Edit file
|
||||
edit_dossier_title: "Edit my file - You can modify your file as long as it has not been sent for processing"
|
||||
search:
|
||||
search_file: Search a file (File number, keywords)
|
||||
simple: Search
|
||||
|
|
|
@ -425,8 +425,6 @@ fr:
|
|||
submit_dossier: Déposer un autre dossier
|
||||
show:
|
||||
header:
|
||||
edit_dossier: Modifier mon dossier
|
||||
edit_dossier_title: "Modifier mon dossier - Vous pouvez modifier votre dossier tant qu’il n’est pas passé en instruction"
|
||||
summary: "Résumé"
|
||||
request: "Demande"
|
||||
mailbox: "Messagerie"
|
||||
|
@ -456,7 +454,8 @@ fr:
|
|||
messagerie:
|
||||
mailbox: "La messagerie vous permet de contacter l’instructeur en charge de votre dossier."
|
||||
demande:
|
||||
edit_dossier: "Modifier le dossier"
|
||||
edit_dossier: Modifier le dossier
|
||||
edit_dossier_title: "Modifier mon dossier - Vous pouvez modifier votre dossier tant qu’il n’est pas passé en instruction"
|
||||
search:
|
||||
search_file: Rechercher un dossier (N° de dossier, mots-clés)
|
||||
simple: Rechercher
|
||||
|
|
|
@ -6,7 +6,7 @@ RSpec.shared_examples 'the user can edit the submitted demande' do
|
|||
click_on 'Demande'
|
||||
|
||||
expect(page).to have_current_path(demande_dossier_path(dossier))
|
||||
click_on 'Modifier le dossier'
|
||||
click_on 'Modifier le dossier', match: :first
|
||||
|
||||
expect(page).to have_current_path(modifier_dossier_path(dossier))
|
||||
fill_in('Texte obligatoire', with: 'Nouveau texte')
|
||||
|
|
Loading…
Reference in a new issue