Merge pull request #2519 from betagouv/status-badge

Rename status partial to status_badge
This commit is contained in:
Pierre de La Morinerie 2018-09-05 14:12:23 +02:00 committed by GitHub
commit 920353dbb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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