diff options
Diffstat (limited to 'app/views/tenants/_admin_area.html.haml')
-rw-r--r-- | app/views/tenants/_admin_area.html.haml | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/app/views/tenants/_admin_area.html.haml b/app/views/tenants/_admin_area.html.haml index afd50b5..c838a18 100644 --- a/app/views/tenants/_admin_area.html.haml +++ b/app/views/tenants/_admin_area.html.haml @@ -25,30 +25,7 @@ = succeed '.' do =link_to manufacturer, manufacturer_path(manufacturer) -%h3 SIP-Accounts and Phones - -%table - %tr{:class => 'even'} - %th - %th - = @tenant - %th - All users of - = "\"#{@tenant}\"" - %tr{:class => 'odd'} - %td - SIP accounts - %td - = link_to @tenant.sip_accounts.count.to_s, tenant_sip_accounts_path(@tenant) - = render :partial => 'shared/create_link', :locals => {:parent => @tenant, :child_class => SipAccount} - %td= @tenant.users_sip_accounts.count.to_s - %tr{:class => 'even'} - %td - Phones - %td - = link_to @tenant.phones.count.to_s, tenant_phones_path(@tenant) - = render :partial => 'shared/create_link', :locals => {:parent => @tenant, :child_class => Phone} - %td= @tenant.users_phones.count.to_s += render :partial => 'tenants/sip_accounts_and_phones', :locals => {:tenant => @tenant} %h3 Misc |