Merge pull request #11155 from colinux/faster-admin-idnex
ETQ admin: page liste des démarches plus rapide sur des grosses démarches
This commit is contained in:
commit
978c5f5038
2 changed files with 14 additions and 11 deletions
|
@ -9,15 +9,18 @@
|
|||
.fr-mb-4w
|
||||
= render 'add_admin_form', procedure: @procedure, disabled_as_super_admin: administrateur_as_manager?
|
||||
|
||||
.fr-table.fr-table--bordered.fr-table--layout-fixed
|
||||
%table
|
||||
%caption Liste des administrateurs
|
||||
%thead
|
||||
%th= 'Adresse email'
|
||||
%th= 'Enregistré le'
|
||||
%th= 'État'
|
||||
%th= 'Action'
|
||||
%tbody#administrateurs
|
||||
= render(Procedure::ProcedureAdministrateurs::AdministrateurComponent.with_collection(@procedure.administrateurs.order('users.email'), procedure: @procedure))
|
||||
.fr-table
|
||||
.fr-table__wrapper
|
||||
.fr-table__container
|
||||
.fr-table__content
|
||||
%table
|
||||
%caption Liste des administrateurs
|
||||
%thead
|
||||
%th{ scope: 'col' }= 'Adresse email'
|
||||
%th{ scope: 'col' }= 'Enregistré le'
|
||||
%th{ scope: 'col' }= 'État'
|
||||
%th{ scope: 'col' }= 'Action'
|
||||
%tbody#administrateurs
|
||||
= render(Procedure::ProcedureAdministrateurs::AdministrateurComponent.with_collection(@procedure.administrateurs.order('users.email'), procedure: @procedure))
|
||||
|
||||
= render Procedure::FixedFooterComponent.new(procedure: @procedure)
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
%span.fr-badge= procedure.instructeurs_count
|
||||
|
||||
= dsfr_icon('fr-icon-file-text-fill fr-ml-1w')
|
||||
%span.fr-badge= procedure.dossiers.state_not_brouillon.visible_by_administration.count
|
||||
%span.fr-badge= procedure.estimated_dossiers_count
|
||||
|
||||
.text-right
|
||||
%p.fr-mb-0.width-max-content N° #{number_with_html_delimiter(procedure.id)}
|
||||
|
|
Loading…
Add table
Reference in a new issue