Rename status partial to status_badge

This commit is contained in:
gregoirenovel 2018-09-05 11:58:34 +02:00 committed by Pierre de La Morinerie
parent 1836d16fb8
commit be3b9382e5
5 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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é

View file

@ -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")

View file

@ -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