views: improve Service breadcrumbs
- Make the procedure name shorter - Capitalize the words
This commit is contained in:
parent
1415d1f2eb
commit
c0b96bfecb
3 changed files with 8 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
|||
= render partial: 'administrateurs/breadcrumbs',
|
||||
locals: { steps: [link_to('Démarches', admin_procedures_path),
|
||||
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
|
||||
link_to('choix du service', admin_services_path(procedure_id: @procedure.id)),
|
||||
'modifier le service'] }
|
||||
link_to(@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)),
|
||||
link_to('Choix du service', admin_services_path(procedure_id: @procedure.id)),
|
||||
'Modifier le service'] }
|
||||
|
||||
.container
|
||||
%h1 Modifier le service
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
= render partial: 'administrateurs/breadcrumbs',
|
||||
locals: { steps: [link_to('Démarches', admin_procedures_path),
|
||||
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
|
||||
'choix du service'] }
|
||||
link_to(@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)),
|
||||
'Choix du service'] }
|
||||
|
||||
#services-index.container
|
||||
%h1 Choix du service pour la démarche
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
= render partial: 'administrateurs/breadcrumbs',
|
||||
locals: { steps: [link_to('Démarches', admin_procedures_path),
|
||||
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
|
||||
link_to('choix du service', admin_services_path(procedure_id: @procedure.id)),
|
||||
'nouveau service'] }
|
||||
link_to(@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)),
|
||||
link_to('Choix du service', admin_services_path(procedure_id: @procedure.id)),
|
||||
'Nouveau service'] }
|
||||
|
||||
.container
|
||||
%h1 Nouveau Service
|
||||
|
|
Loading…
Reference in a new issue