|
|
|
@ -10,12 +10,14 @@
|
|
|
|
|
%em.fa{ class: "fa-#{kind.icon}" }
|
|
|
|
|
= count
|
|
|
|
|
|
|
|
|
|
%li{ title: Kind.human_attribute_name('active').pluralize + '?' }
|
|
|
|
|
- p[:kind_id_eq] = params[:q][:kind_id_eq]
|
|
|
|
|
\/
|
|
|
|
|
= link_to orgas_url(q: p, active: params[:active].present? && params[:active] != 'true') do
|
|
|
|
|
- if params[:active].nil? || params[:active] == 'true'
|
|
|
|
|
%em.fa.fa-heartbeat
|
|
|
|
|
- else
|
|
|
|
|
%em.fa.fa-heart-broken
|
|
|
|
|
= @unfiltered_orgas.count
|
|
|
|
|
- count = @unfiltered_orgas.count :all
|
|
|
|
|
- if count.positive?
|
|
|
|
|
%li{ title: Kind.human_attribute_name('active').pluralize + '?' }
|
|
|
|
|
- p[:kind_id_eq] = params[:q][:kind_id_eq]
|
|
|
|
|
\/
|
|
|
|
|
= link_to orgas_url(q: p, active: params[:active].present? && params[:active] != 'true') do
|
|
|
|
|
- if params[:active].nil? || params[:active] == 'true'
|
|
|
|
|
%em.fa.fa-heartbeat
|
|
|
|
|
- else
|
|
|
|
|
%em.fa.fa-heart-broken
|
|
|
|
|
= count
|
|
|
|
|