2015-11-30 14:48:37 +01:00
|
|
|
%h1 Mes dossiers
|
|
|
|
%br
|
|
|
|
|
|
|
|
#onglets
|
|
|
|
%ul.nav.nav-tabs
|
2015-12-02 16:52:09 +01:00
|
|
|
%li{ class: (@dossiers.active_class_a_traiter(@liste) unless @dossiers.nil?) }
|
|
|
|
%a{:href => "#{url_for users_dossiers_path(liste: 'a_traiter')}"}
|
2015-11-30 14:48:37 +01:00
|
|
|
%h5.text-danger
|
|
|
|
= "À traiter "
|
|
|
|
.badge.progress-bar-danger
|
|
|
|
= @dossiers_a_traiter_total
|
2015-12-02 16:52:09 +01:00
|
|
|
|
|
|
|
%li{ class: (@dossiers.active_class_en_attente(@liste) unless @dossiers.nil?) }
|
|
|
|
%a{:href => "#{url_for users_dossiers_path(liste: 'en_attente')}"}
|
2015-11-30 14:48:37 +01:00
|
|
|
%h5.text-info
|
|
|
|
="En attente "
|
|
|
|
.badge.progress-bar-info
|
|
|
|
= @dossiers_en_attente_total
|
2015-12-02 16:52:09 +01:00
|
|
|
|
|
|
|
%li{ class: (@dossiers.active_class_termine(@liste) unless @dossiers.nil?) }
|
|
|
|
%a{:href => "#{url_for users_dossiers_path(liste: 'termine')}"}
|
2015-11-30 14:48:37 +01:00
|
|
|
%h5.text-success
|
|
|
|
= "Terminé"
|
|
|
|
.badge.progress-bar-success
|
|
|
|
= @dossiers_termine_total
|
2015-12-02 16:52:09 +01:00
|
|
|
%br
|