diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-13 11:21:07 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-13 11:21:07 +0200 |
commit | 525aaf6dcb5bafe5a949a078dee6abb24d87e2a5 (patch) | |
tree | d1e1ee41188b28d1ae07a2015b84c057fb7dfdad /app/views/sip_accounts/index.html.haml | |
parent | 06feae4f6303ab9b08eceea5a051ddba3fc5f911 (diff) |
display tenant and user sip_accounts combined
Diffstat (limited to 'app/views/sip_accounts/index.html.haml')
-rw-r--r-- | app/views/sip_accounts/index.html.haml | 2 |
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 |