summaryrefslogtreecommitdiff
path: root/app/views/voicemail_messages/_navigation.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/voicemail_messages/_navigation.html.haml')
-rw-r--r--app/views/voicemail_messages/_navigation.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/voicemail_messages/_navigation.html.haml b/app/views/voicemail_messages/_navigation.html.haml
new file mode 100644
index 0000000..2277bf2
--- /dev/null
+++ b/app/views/voicemail_messages/_navigation.html.haml
@@ -0,0 +1,9 @@
+%nav
+ %ol.abc
+ %li
+ %a{ :href => "?type=" }= t('voicemail_messages.index.navigation.all', :count => @messages_count)
+ %a{ :href => "?type=read" }= t('voicemail_messages.index.navigation.read', :count => @messages_read_count)
+ %a{ :href => "?type=unread" }= t('voicemail_messages.index.navigation.unread', :count => @messages_unread_count)
+
+.pagination
+ = will_paginate @voicemail_messages