be more specific on the count of dossiers we display in the table
This commit is contained in:
parent
48503e0743
commit
4d1f164c43
3 changed files with 34 additions and 1 deletions
|
@ -99,7 +99,7 @@
|
|||
%div{ data: batch_operation_component.render? ? { controller: 'batch-operation' } : {} }
|
||||
.flex.align-center.fr-mt-2w
|
||||
%span.fr-h6.fr-mb-0.fr-mr-2w
|
||||
= t('views.instructeurs.dossiers.dossiers_count', count: @dossiers_count)
|
||||
= page_entries_info @filtered_sorted_paginated_ids, entry_name: 'dossier'
|
||||
|
||||
= render batch_operation_component
|
||||
.fr-table.fr-table--bordered
|
||||
|
|
17
config/locales/kaminari.en.yml
Normal file
17
config/locales/kaminari.en.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
en:
|
||||
helpers:
|
||||
page_entries_info:
|
||||
more_pages:
|
||||
display_entries: Displaying %{entry_name} <b>%{first} - %{last}</b> of <b>%{total}</b> in total
|
||||
one_page:
|
||||
display_entries:
|
||||
one: Displaying <b>%{count}</b> %{entry_name}
|
||||
other: Displaying <b>all %{count}</b> %{entry_name}
|
||||
zero: No %{entry_name} found
|
||||
views:
|
||||
pagination:
|
||||
first: "« First"
|
||||
last: Last »
|
||||
next: Next ›
|
||||
previous: "‹ Prev"
|
||||
truncate: "…"
|
16
config/locales/kaminari.fr.yml
Normal file
16
config/locales/kaminari.fr.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
fr:
|
||||
helpers:
|
||||
page_entries_info:
|
||||
more_pages:
|
||||
display_entries: "%{first} - %{last} <span class='fr-text--sm'>sur %{total} %{entry_name}</span>"
|
||||
one_page:
|
||||
display_entries:
|
||||
one: "<b>%{count}</b> %{entry_name}"
|
||||
other: "%{count} <span class='fr-text--sm'>sur %{count} %{entry_name}</span>"
|
||||
views:
|
||||
pagination:
|
||||
first: "« Premier"
|
||||
last: Dernier »
|
||||
next: Suivant ›
|
||||
previous: "‹ Précédent"
|
||||
truncate: "…"
|
Loading…
Reference in a new issue