summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/sip_accounts/_index_core.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml
index d98ea0a..7f393d7 100644
--- a/app/views/sip_accounts/_index_core.html.haml
+++ b/app/views/sip_accounts/_index_core.html.haml
@@ -1,10 +1,13 @@
+.pagination
+ - if defined?(users.total_pages)
+ = will_paginate users, :renderer => BootstrapPagination::Rails
%table.table.table-striped
%thead
%tr
%th
%span.hidden-phone
= t('sip_accounts.index.online')
- %th= t('sip_accounts.index.caller_name')
+ %th= sortable :caller_name, t('sip_accounts.index.caller_name')
%th
%span.hidden-phone
= t('sip_accounts.index.phone_numbers')