Merge pull request #2519 from betagouv/status-badge
Rename status partial to status_badge
This commit is contained in:
commit
920353dbb2
5 changed files with 4 additions and 4 deletions
|
@ -109,7 +109,7 @@
|
|||
|
||||
%td.status-col
|
||||
= link_to(gestionnaire_dossier_path(@procedure, dossier), class: 'cell-link') do
|
||||
= render partial: 'shared/dossiers/status', locals: { dossier: dossier }
|
||||
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
|
||||
%td.follow-col= render partial: 'dossier_actions', locals: { procedure: @procedure, dossier: dossier, dossier_is_followed: @followed_dossiers_id.include?(dossier.id) }
|
||||
= paginate @dossiers
|
||||
- else
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
%td= link_to(dossier.user.email, dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link')
|
||||
%td.status-col
|
||||
= link_to(dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link') do
|
||||
= render partial: 'shared/dossiers/status', locals: { dossier: dossier }
|
||||
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
|
||||
- else
|
||||
%h2 Aucun dossier correspondant à votre recherche n'a été trouvé
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
= dossier.procedure.libelle
|
||||
%td.status-col
|
||||
= link_to(url_for_dossier(dossier), class: 'cell-link') do
|
||||
= render partial: 'shared/dossiers/status', locals: { dossier: dossier }
|
||||
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
|
||||
%td.updated-at-col
|
||||
= link_to(url_for_dossier(dossier), class: 'cell-link') do
|
||||
= dossier.updated_at.localtime.strftime("%d/%m/%Y")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.sub-header
|
||||
.container
|
||||
= render partial: 'shared/dossiers/status', locals: { dossier: dossier }
|
||||
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
|
||||
|
||||
.title-container
|
||||
%span.icon.folder
|
||||
|
|
Loading…
Reference in a new issue