2015-12-02 18:03:52 +01:00
|
|
|
#backoffice_index
|
2016-08-01 18:10:32 +02:00
|
|
|
#pref_list_menu
|
2016-09-06 11:07:26 +02:00
|
|
|
= render partial: 'backoffice/dossiers/pref_list'
|
2016-10-18 15:51:32 +02:00
|
|
|
|
2016-11-24 19:33:34 +01:00
|
|
|
.default_data_block
|
|
|
|
%div.row.show-block#new_dossiers
|
|
|
|
%div.header
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-10.title
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.carret-right
|
|
|
|
%div.carret-down
|
|
|
|
Nouveaux dossiers
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-2.count
|
|
|
|
= pluralize(@facade_data_view.nouveaux_total, "dossier")
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.body
|
|
|
|
= smart_listing_render :new_dossiers
|
2016-10-18 15:51:32 +02:00
|
|
|
|
2017-01-05 19:07:01 +01:00
|
|
|
.row.center
|
2017-02-27 17:44:08 +01:00
|
|
|
.col-xs-2.col-xs-offset-1
|
2017-01-05 19:07:01 +01:00
|
|
|
=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
|
2017-01-05 19:07:01 +01:00
|
|
|
=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
|
2017-01-05 19:07:01 +01:00
|
|
|
=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
|
2017-01-05 19:07:01 +01:00
|
|
|
=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
|
2017-01-05 19:07:01 +01:00
|
|
|
=link_to 'Terminés', '?liste=termine', class: 'text-success', style:"text-decoration: #{@facade_data_view.liste == 'termine'? 'underline' : ''}"
|
|
|
|
|
2016-11-24 19:33:34 +01:00
|
|
|
.default_data_block.default_visible
|
|
|
|
%div.row.show-block#follow_dossiers
|
|
|
|
%div.header
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-10.title
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.carret-right
|
|
|
|
%div.carret-down
|
|
|
|
Dossiers suivis
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-2.count
|
|
|
|
= pluralize(@facade_data_view.suivi_total, "dossier")
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.body
|
|
|
|
= smart_listing_render :follow_dossiers
|
2015-11-13 15:23:21 +01:00
|
|
|
|
2016-11-24 19:33:34 +01:00
|
|
|
.default_data_block
|
|
|
|
%div.row.show-block#all_dossiers
|
|
|
|
%div.header
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-10.title
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.carret-right
|
|
|
|
%div.carret-down
|
|
|
|
Tous les dossiers
|
2017-02-27 17:44:08 +01:00
|
|
|
%div.col-xs-2.count
|
|
|
|
= pluralize(@facade_data_view.all_state_total, "dossier")
|
2016-11-24 19:33:34 +01:00
|
|
|
%div.body
|
|
|
|
= smart_listing_render :all_state_dossiers
|
2017-02-27 17:44:08 +01:00
|
|
|
|
|
|
|
|
2017-02-28 11:37:37 +01:00
|
|
|
- if @dossiers_archived
|
|
|
|
.default_data_block
|
|
|
|
%div.row.show-block#archived_dossiers
|
|
|
|
%div.header
|
|
|
|
%div.col-xs-10.title
|
|
|
|
%div.carret-right
|
|
|
|
%div.carret-down
|
|
|
|
Dossiers archivés
|
|
|
|
%div.col-xs-2.count
|
|
|
|
= pluralize(@dossiers_archived.count, "dossier")
|
2017-02-27 17:44:08 +01:00
|
|
|
|
2017-02-28 11:37:37 +01:00
|
|
|
%div.body
|
2017-03-01 15:16:32 +01:00
|
|
|
= smart_listing_render :archived_dossiers
|