summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.de.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 21:58:54 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 21:58:54 +0100
commit878412b12dd34004d37b8b79945786e506f8fa08 (patch)
tree23048e74ac7f0eecc9f99bea757be66de322aab8 /app/views/tenants/_admin_area.de.html.haml
parentc0dfdfce54b2e698580893d18ea101ecaab89aad (diff)
parent9f0034ff3c969c867258a90d1a9c6f76f392092a (diff)
Merge branch 'refactor_tenant_view' into develop
Diffstat (limited to 'app/views/tenants/_admin_area.de.html.haml')
-rw-r--r--app/views/tenants/_admin_area.de.html.haml25
1 files changed, 1 insertions, 24 deletions
diff --git a/app/views/tenants/_admin_area.de.html.haml b/app/views/tenants/_admin_area.de.html.haml
index d125e58..3c9440b 100644
--- a/app/views/tenants/_admin_area.de.html.haml
+++ b/app/views/tenants/_admin_area.de.html.haml
@@ -25,30 +25,7 @@
= succeed '.' do
=link_to manufacturer, manufacturer_path(manufacturer)
-%h3 SIP-Konten und Telefone
-
-%table
- %tr{:class => 'even'}
- %th
- %th
- = @tenant
- %th
- Alle Benutzer von
- = "\"#{@tenant}\""
- %tr{:class => 'odd'}
- %td
- SIP-Konten
- %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
- Telefone
- %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 Allgemein