summaryrefslogtreecommitdiff
path: root/app/views/sip_accounts/_index_core.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-06-13 11:21:07 +0200
committerPeter Kozak <spag@golwen.net>2013-06-13 11:21:07 +0200
commit525aaf6dcb5bafe5a949a078dee6abb24d87e2a5 (patch)
treed1e1ee41188b28d1ae07a2015b84c057fb7dfdad /app/views/sip_accounts/_index_core.html.haml
parent06feae4f6303ab9b08eceea5a051ddba3fc5f911 (diff)
display tenant and user sip_accounts combined
Diffstat (limited to 'app/views/sip_accounts/_index_core.html.haml')
-rw-r--r--app/views/sip_accounts/_index_core.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml
index d91a3ef..be1f4cb 100644
--- a/app/views/sip_accounts/_index_core.html.haml
+++ b/app/views/sip_accounts/_index_core.html.haml
@@ -5,6 +5,8 @@
%table.table.table-striped
%thead
%tr
+ - if defined?(show_sip_accountable) && show_sip_accountable
+ %th= sortable :sip_accountable_id, t('sip_accounts.index.sip_accountable')
%th
%span.hidden-phone
= t('sip_accounts.index.online')
@@ -20,6 +22,9 @@
%tbody
- for sip_account in sip_accounts
%tr{:class => (sip_account.registration ? '' : 'warning')}
+ - if defined?(show_sip_accountable) && show_sip_accountable
+ %td
+ = sip_account.sip_accountable
%td
- if sip_account.registration
%i.icon-ok