Merge pull request #8913 from demarches-simplifiees/fix-display-search-results
[bug display] Améliorer l'affichage des resultats de recherche
This commit is contained in:
commit
82f81cef21
2 changed files with 15 additions and 13 deletions
|
@ -22,7 +22,6 @@
|
||||||
.dossiers-table {
|
.dossiers-table {
|
||||||
margin-top: $default-spacer;
|
margin-top: $default-spacer;
|
||||||
margin-bottom: 3 * $default-spacer;
|
margin-bottom: 3 * $default-spacer;
|
||||||
overflow: visible; // remove DSFR hidden overflow because of dropdown
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.procedure-actions {
|
.procedure-actions {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- content_for(:title, "Recherche : #{@search_terms}")
|
- content_for(:title, "Recherche : #{@search_terms}")
|
||||||
|
|
||||||
.container
|
.fr-container
|
||||||
|
|
||||||
- if @dossier_not_in_instructor_group.present?
|
- if @dossier_not_in_instructor_group.present?
|
||||||
.fr-alert.fr-alert--info.fr-alert--sm.fr-mt-3w
|
.fr-alert.fr-alert--info.fr-alert--sm.fr-mt-3w
|
||||||
|
@ -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