%div{:class => 'pagination'}
%ul
%li{:class => (type.blank? ? :active : nil )}
%a{ :href => "?type=" }= t("call_histories.index.navigation.all", :calls => @calls_count)
%li{:class => (type == 'missed' ? :active : nil )}
%a{ :href => "?type=missed" }= t("call_histories.index.navigation.missed", :calls => @calls_missed_count)
%li{:class => (type == 'received' ? :active : nil )}
%a{ :href => "?type=received" }= t("call_histories.index.navigation.received", :calls => @calls_received_count)
%li{:class => (type == 'dialed' ? :active : nil )}
%a{ :href => "?type=dialed" }= t("call_histories.index.navigation.dialed", :calls => @calls_dialed_count)
%li{:class => (type == 'forwarded' ? :active : nil )}
%a{ :href => "?type=forwarded" }= t("call_histories.index.navigation.forwarded", :calls => @calls_forwarded_count)
= will_paginate call_histories, :renderer => BootstrapPagination::Rails, :previous_label => raw(''), :next_label => raw(''), :class => nil