feat(groupes instructeurs): add dossiers count in index
This commit is contained in:
parent
c85f70c805
commit
9cb82ba6f8
1 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
%th{ scope: "col" }
|
%th{ scope: "col" }
|
||||||
.flex
|
.flex
|
||||||
.flex.auto= table_header
|
.flex.auto= table_header
|
||||||
%span.fr-icon.fr-icon-user-line
|
|
||||||
%tbody
|
%tbody
|
||||||
- @groupe_instructeurs.each do |gi|
|
- @groupe_instructeurs.each do |gi|
|
||||||
%tr
|
%tr
|
||||||
|
@ -25,9 +24,15 @@
|
||||||
- elsif gi.routing_to_configure?
|
- elsif gi.routing_to_configure?
|
||||||
%p.fr-badge.fr-badge--warning.fr-badge--sm.fr-ml-1w à configurer
|
%p.fr-badge.fr-badge--warning.fr-badge--sm.fr-ml-1w à configurer
|
||||||
|
|
||||||
%div{ style: 'width: 25px; text-align: center;' }
|
%span.fr-mr-1w
|
||||||
|
#{gi.dossiers.visible_by_administration.size}
|
||||||
|
%span.fr-icon.fr-icon-folder-2-line.fr-mr-2w{ style: 'width: 25px; text-align: center;' }
|
||||||
|
%span.fr-mr-1w
|
||||||
#{gi.instructeurs.count}
|
#{gi.instructeurs.count}
|
||||||
|
%span.fr-icon.fr-icon-user-line{ style: 'width: 25px; text-align: center;' }
|
||||||
|
|
||||||
%p= gi.routing_rule&.to_s(@procedure.active_revision.types_de_champ)
|
%p= gi.routing_rule&.to_s(@procedure.active_revision.types_de_champ)
|
||||||
|
|
||||||
.fr-mt-1w
|
.fr-mt-1w
|
||||||
= paginate @groupe_instructeurs
|
= paginate @groupe_instructeurs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue