summaryrefslogtreecommitdiff
path: root/app/views/sip_accounts/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/sip_accounts/index.html.haml')
-rw-r--r--app/views/sip_accounts/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/sip_accounts/index.html.haml b/app/views/sip_accounts/index.html.haml
index fbdba48..114943e 100644
--- a/app/views/sip_accounts/index.html.haml
+++ b/app/views/sip_accounts/index.html.haml
@@ -1,6 +1,6 @@
- content_for :title, t("sip_accounts.index.page_title")
- if @sip_accounts.count > 0
- = render "index_core", :sip_accounts => @sip_accounts
+ = render "index_core", :sip_accounts => @sip_accounts, :show_sip_accountable => (@parent.class == Tenant)
= render :partial => 'shared/create_link', :locals => {:parent => @parent, :child_class => SipAccount} \ No newline at end of file