Instructor - Improve titles on listing pages
This commit is contained in:
parent
f0544d77e9
commit
2dc6e3fbc3
3 changed files with 5 additions and 4 deletions
|
@ -5,9 +5,10 @@
|
|||
|
||||
.procedure-details
|
||||
.flex.clipboard-container
|
||||
%p.fr-mb-2w
|
||||
.fr-mb-2w
|
||||
= procedure_badge(p)
|
||||
= link_to("#{p.libelle} - n°#{p.id}", instructeur_procedure_path(p), class: "fr-link fr-ml-1w")
|
||||
%h3.font-weight-normal.fr-link.fr-ml-1w
|
||||
= link_to("#{p.libelle} - n°#{p.id}", instructeur_procedure_path(p))
|
||||
= render Dsfr::CopyButtonComponent.new(title: t('instructeurs.procedures.index.copy_link_button'), text: commencer_url(p.path))
|
||||
|
||||
%ul.procedure-stats.flex
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- if procedures.length > 1
|
||||
.flex.align-center.fr-mb-2w
|
||||
%h2.fr-text--sm.fr-mb-1w= t('views.instructeurs.dossiers.dossier_synthesis')
|
||||
%p.font-weight-bold.fr-text--sm.fr-mb-1w= t('views.instructeurs.dossiers.dossier_synthesis')
|
||||
- all_dossiers_counts.each_with_index do |(label, dossier_count)|
|
||||
- if dossier_count != 0
|
||||
%span.fr-badge.fr-ml-1w.fr-mb-1w= number_with_html_delimiter(dossier_count) + ' ' + label
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
|
||||
- if collection.present?
|
||||
.fr-h6
|
||||
%h2.fr-h6
|
||||
= page_entries_info collection
|
||||
%ul.procedure-list.fr-pl-0
|
||||
= render partial: 'instructeurs/procedures/list',
|
||||
|
|
Loading…
Reference in a new issue