From 59a4200095e983f8dbb94a76603944dab9f06a41 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 2 May 2013 10:50:34 +0200 Subject: pagination --- app/views/voicemail_messages/_navigation.html.haml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/voicemail_messages/_navigation.html.haml b/app/views/voicemail_messages/_navigation.html.haml index d3b9c5d..225801c 100644 --- a/app/views/voicemail_messages/_navigation.html.haml +++ b/app/views/voicemail_messages/_navigation.html.haml @@ -1,10 +1,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) +%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) -.pagination - = will_paginate @voicemail_messages, :renderer => BootstrapPagination::Rails + = will_paginate @voicemail_messages, :renderer => BootstrapPagination::Rails, :previous_label => raw(''), :next_label => raw(''), :class => nil -- cgit v1.2.3