fix table display for search result
This commit is contained in:
parent
e8218821a0
commit
4ed29268bf
1 changed files with 14 additions and 11 deletions
|
@ -12,16 +12,17 @@
|
||||||
|
|
||||||
- if @projected_dossiers.present?
|
- if @projected_dossiers.present?
|
||||||
= paginate @paginated_ids
|
= paginate @paginated_ids
|
||||||
%table.table.dossiers-table.hoverable
|
.fr-table.fr-table--bordered
|
||||||
%thead
|
%table.table.dossiers-table.hoverable
|
||||||
%tr
|
%thead
|
||||||
%th.notification-col
|
%tr
|
||||||
%th.number-col Nº dossier
|
%th.notification-col
|
||||||
%th Démarche
|
%th.number-col Nº dossier
|
||||||
%th Demandeur
|
%th Démarche
|
||||||
%th.status-col Statut
|
%th Demandeur
|
||||||
%th.action-col.follow-col
|
%th.status-col Statut
|
||||||
%tbody
|
%th.action-col.follow-col
|
||||||
|
%tbody
|
||||||
- @projected_dossiers.each do |p|
|
- @projected_dossiers.each do |p|
|
||||||
- procedure_libelle, user_email, procedure_id = p.columns
|
- procedure_libelle, user_email, procedure_id = p.columns
|
||||||
- instructeur_dossier = @instructeur_dossiers_ids.include?(p.dossier_id)
|
- instructeur_dossier = @instructeur_dossiers_ids.include?(p.dossier_id)
|
||||||
|
@ -90,7 +91,9 @@
|
||||||
= t('views.instructeurs.dossiers.restore')
|
= t('views.instructeurs.dossiers.restore')
|
||||||
|
|
||||||
- else
|
- else
|
||||||
%td.action-col.follow-col= render partial: "instructeurs/procedures/dossier_actions",
|
%td.action-col.follow-col
|
||||||
|
%ul.inline.fr-btns-group.fr-btns-group--sm.fr-btns-group--inline.fr-btns-group--icon-right
|
||||||
|
= render partial: "instructeurs/procedures/dossier_actions",
|
||||||
locals: { procedure_id: procedure_id,
|
locals: { procedure_id: procedure_id,
|
||||||
dossier_id: p.dossier_id,
|
dossier_id: p.dossier_id,
|
||||||
state: p.state,
|
state: p.state,
|
||||||
|
|
Loading…
Reference in a new issue