demarches-normaliennes/app/views/backoffice/dossiers/index.html.haml

65 lines
2.1 KiB
Text
Raw Normal View History

#backoffice-index
#pref-list-menu
= render partial: 'backoffice/dossiers/pref_list'
.default-data-block
.row.show-block#new_dossiers
.header
.col-xs-10.title
.carret-right
.carret-down
Nouveaux dossiers
.col-xs-2.count
2017-02-27 17:44:08 +01:00
= pluralize(@facade_data_view.nouveaux_total, "dossier")
.body
= smart_listing_render :new_dossiers
.row.center
2017-03-06 18:14:54 +01:00
.col-xs-3
= link_to 'Tous les états', '?liste=all_state', class: 'text-info', style: "text-decoration: #{@facade_data_view.liste == 'all_state'? 'underline' : ''}"
2017-03-06 18:14:54 +01:00
.col-xs-3
= link_to 'En construction', '?liste=a_traiter', class: 'text-danger', style: "text-decoration: #{@facade_data_view.liste == 'a_traiter'? 'underline' : ''}"
2017-03-06 18:14:54 +01:00
.col-xs-3
= link_to 'En instruction', '?liste=a_instruire', class: 'text-warning', style: "text-decoration: #{@facade_data_view.liste == 'a_instruire'? 'underline' : ''}"
2017-03-06 18:14:54 +01:00
.col-xs-3
= link_to 'Terminés', '?liste=termine', class: 'text-success', style: "text-decoration: #{@facade_data_view.liste == 'termine'? 'underline' : ''}"
.default-data-block.default_visible
.row.show-block#follow_dossiers
.header
.col-xs-10.title
.carret-right
.carret-down
Dossiers suivis
.col-xs-2.count
2017-02-27 17:44:08 +01:00
= pluralize(@facade_data_view.suivi_total, "dossier")
.body
= smart_listing_render :follow_dossiers
.default-data-block
.row.show-block#all_dossiers
.header
.col-xs-10.title
.carret-right
.carret-down
Tous les dossiers
.col-xs-2.count
2017-02-27 17:44:08 +01:00
= pluralize(@facade_data_view.all_state_total, "dossier")
.body
= smart_listing_render :all_state_dossiers
2017-02-27 17:44:08 +01:00
2017-03-01 15:53:55 +01:00
- if @archived_dossiers
.default-data-block
.row.show-block#archived_dossiers
.header
.col-xs-10.title
.carret-right
.carret-down
2017-02-28 11:37:37 +01:00
Dossiers archivés
.col-xs-2.count
2017-03-01 15:53:55 +01:00
= pluralize(@archived_dossiers.count, "dossier")
2017-02-27 17:44:08 +01:00
.body
= smart_listing_render :archived_dossiers