Uniformisation wording : assigner => affecter

This commit is contained in:
Mathieu Magnin 2024-11-29 17:43:22 +01:00
parent 8ba2c5c5ff
commit 51a35a321e
No known key found for this signature in database
GPG key ID: 8DCAFC82D7BA654E
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@
%p.fr-badge.fr-badge--success.fr-badge--sm
ASSIGNÉ
- else
= button_to "Assigner", add_to_procedure_admin_services_path(procedure: { id: @procedure.id, service_id: service.id, }), method: :patch, class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-checkbox-circle-line'
= button_to "Affecter", add_to_procedure_admin_services_path(procedure: { id: @procedure.id, service_id: service.id, }), method: :patch, class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-checkbox-circle-line'
.fr-col-4
= link_to('Modifier', edit_admin_service_path(service, procedure_id: @procedure.id), class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-pencil-line')
.fr-col-4

View file

@ -45,7 +45,7 @@ describe 'As an administrateur I wanna clone a procedure', js: true do
# select service
find("#service .fr-btn").click
click_on "Assigner"
click_on "Affecter"
# select zone
find("#zones .fr-btn").click
@ -83,7 +83,7 @@ describe 'As an administrateur I wanna clone a procedure', js: true do
# select service
find("#service .fr-btn").click
click_on "Assigner"
click_on "Affecter"
# select zone
find("#zones .fr-btn").click