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

67 lines
2.3 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-02-27 17:44:08 +01:00
.col-xs-2.col-xs-offset-1
=link_to 'Tous les états', '?liste=all_state', class: 'text-info', style:"text-decoration: #{@facade_data_view.liste == 'all_state'? 'underline' : ''}"
2017-02-27 17:44:08 +01:00
.col-xs-2
=link_to 'En construction', '?liste=a_traiter', class: 'text-danger', style:"text-decoration: #{@facade_data_view.liste == 'a_traiter'? 'underline' : ''}"
2017-02-27 17:44:08 +01:00
.col-xs-2
=link_to 'À receptionner', '?liste=deposes', class: 'text-purple', style:"text-decoration: #{@facade_data_view.liste == 'deposes'? 'underline' : ''}"
2017-02-27 17:44:08 +01:00
.col-xs-2
=link_to 'À instruire', '?liste=a_instruire', class: 'text-warning', style:"text-decoration: #{@facade_data_view.liste == 'a_instruire'? 'underline' : ''}"
2017-02-27 17:44:08 +01:00
.col-xs-2
=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
2017-02-28 11:37:37 +01:00
.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