demarches-normaliennes/app/views/users/dossiers/_onglets.html.haml

27 lines
750 B
Text
Raw Normal View History

2015-11-30 14:48:37 +01:00
%h1 Mes dossiers
%br
#onglets
%ul.nav.nav-tabs
2016-01-08 11:39:04 +01:00
%li{ class: @a_traiter_class }
%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
2016-01-08 11:39:04 +01:00
%li{ class: @en_attente_class }
%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
2016-01-08 11:39:04 +01:00
%li{ class: @termine_class }
%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
%br