summaryrefslogtreecommitdiff
path: root/app/views/voicemail_messages/_navigation.html.haml
blob: d3b9c5d68da88b2ffabc33c8966d8fec5f9ec18f (plain)
1
2
3
4
5
6
7
8
9
10
%ul{:class => 'nav nav-pills'}
  %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)

.pagination
  = will_paginate @voicemail_messages, :renderer => BootstrapPagination::Rails