diff --git a/app/views/administrateurs/procedure_administrateurs/index.html.haml b/app/views/administrateurs/procedure_administrateurs/index.html.haml index 3e9bf37aa..b38dccb87 100644 --- a/app/views/administrateurs/procedure_administrateurs/index.html.haml +++ b/app/views/administrateurs/procedure_administrateurs/index.html.haml @@ -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) diff --git a/app/views/administrateurs/procedures/_procedures_list.html.haml b/app/views/administrateurs/procedures/_procedures_list.html.haml index 99eecd912..052fc8c33 100644 --- a/app/views/administrateurs/procedures/_procedures_list.html.haml +++ b/app/views/administrateurs/procedures/_procedures_list.html.haml @@ -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)}