2015-11-13 15:23:21 +01:00
|
|
|
%h1 Gestion des dossiers
|
|
|
|
%br
|
|
|
|
|
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li{class: "#{'active' unless @dossiers_a_traiter.nil? }"}
|
|
|
|
%a{:href => "#{url_for :backoffice_dossiers_a_traiter}"}
|
2015-11-17 18:21:03 +01:00
|
|
|
%h5.text-danger
|
2015-11-13 15:23:21 +01:00
|
|
|
= "À traiter (#{@dossiers_a_traiter_total})"
|
|
|
|
%li{class: "#{'active' unless @dossiers_en_attente.nil? }"}
|
|
|
|
%a{:href => "#{url_for :backoffice_dossiers_en_attente}"}
|
2015-11-17 18:21:03 +01:00
|
|
|
%h5.text-info
|
2015-11-13 15:23:21 +01:00
|
|
|
="En attente (#{@dossiers_en_attente_total})"
|
|
|
|
%li{class: "#{'active' unless @dossiers_termine.nil? }"}
|
|
|
|
%a{:href => "#{url_for :backoffice_dossiers_termine}"}
|
2015-11-17 18:21:03 +01:00
|
|
|
%h5.text-success
|
2015-11-13 15:23:21 +01:00
|
|
|
= "Terminé (#{@dossiers_termine_total})"
|
2015-11-17 18:21:03 +01:00
|
|
|
%li#search{class: "#{'active' unless @dossiers_search.nil?}", style:'float:right'}
|
|
|
|
%a
|
|
|
|
= form_tag(backoffice_dossiers_search_url, method: :post) do
|
|
|
|
.input-group{style:'width: 300px'}
|
|
|
|
= text_field_tag('search_terms', "#{@search_terms unless @search_terms.nil? }", id: 'search_terms', placeholder: "Rechercher un dossier ...", class:'form-control')
|
|
|
|
%span.input-group-btn
|
|
|
|
= button_tag('', id:'search_button', class:'btn btn-default') do
|
|
|
|
%i.fa.fa-search
|
2015-11-13 15:23:21 +01:00
|
|
|
%br
|