Merge pull request #11101 from demarches-simplifiees/affecter-un-service

Uniformisation wording : assigner => affecter
This commit is contained in:
LeSim 2024-11-29 17:25:09 +00:00 committed by GitHub
commit edc7b914bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@
%p.fr-badge.fr-badge--success.fr-badge--sm %p.fr-badge.fr-badge--success.fr-badge--sm
ASSIGNÉ ASSIGNÉ
- else - 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 .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') = 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 .fr-col-4

View file

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