NewDesign: same order of categories in index and show

This commit is contained in:
Simon Lehericey 2017-07-13 14:50:02 +02:00 committed by Mathieu Magnin
parent d58502ab49
commit 962f55f6cc

View file

@ -10,12 +10,6 @@
= link_to(p.libelle, procedure_path(p))
%ul.procedure-stats.flex
%li
- dossier_count = @dossiers_count_per_procedure[p.id] || 0
.stats-number
= dossier_count
.stats-legend
= t('pluralize.case', count: dossier_count)
%li
- nouveaux_count = @dossiers_nouveaux_count_per_procedure[p.id] || 0
.stats-number
@ -28,6 +22,12 @@
= followed_count
.stats-legend
= t('pluralize.followed', count: followed_count)
%li
- dossier_count = @dossiers_count_per_procedure[p.id] || 0
.stats-number
= dossier_count
.stats-legend
= t('pluralize.case', count: dossier_count)
%li
- archived_count = @dossiers_archived_count_per_procedure[p.id] || 0
.stats-number