Skip to content

Commit

Permalink
Merge pull request #11155 from colinux/faster-admin-idnex
Browse files Browse the repository at this point in the history
ETQ admin: page liste des démarches plus rapide sur des grosses démarches
  • Loading branch information
colinux authored Dec 19, 2024
2 parents fc0f39b + 419674c commit 978c5f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions app/views/administrateurs/procedure_administrateurs/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 978c5f5

Please sign in to comment.