%div{:class => 'pagination'}
%ul
%li{:class => (type.blank? ? :active : nil )}
%a{ :href => "?type=" }= t('voicemail_messages.index.navigation.all', :count => @messages_count)
%li{:class => (type == 'read' ? :active : nil )}
%a{ :href => "?type=read" }= t('voicemail_messages.index.navigation.read', :count => @messages_read_count)
%li{:class => (type == 'unread' ? :active : nil )}
%a{ :href => "?type=unread" }= t('voicemail_messages.index.navigation.unread', :count => @messages_unread_count)
= will_paginate @voicemail_messages, :renderer => BootstrapPagination::Rails, :previous_label => raw(''), :next_label => raw(''), :class => nil