summaryrefslogtreecommitdiff
path: root/app/views/tenants/_sip_accounts_and_phones.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 10:57:12 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 10:57:12 +0100
commit8feb9102570d23f53c3443ccd3a409d87c97828d (patch)
tree8edc6ee8d7980b39454a446c490ec4f20dbd13ed /app/views/tenants/_sip_accounts_and_phones.html.haml
parentbba745bb46b44d3897222e9d14e2c4f79ede4373 (diff)
Refactoring and fixing #112
Diffstat (limited to 'app/views/tenants/_sip_accounts_and_phones.html.haml')
-rw-r--r--app/views/tenants/_sip_accounts_and_phones.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tenants/_sip_accounts_and_phones.html.haml b/app/views/tenants/_sip_accounts_and_phones.html.haml
index e322b67..4b84b1c 100644
--- a/app/views/tenants/_sip_accounts_and_phones.html.haml
+++ b/app/views/tenants/_sip_accounts_and_phones.html.haml
@@ -21,7 +21,7 @@
= '[' + truncate(sip_account.phone_numbers.map{|phone_number| phone_number.to_s}.join(', '), :length => 25) + ']'
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => SipAccount}
- - cache(['tenant_show_admin_area_sip_accounts_table_cell', I18n.locale, @tenant, @tenant.phones.count, @tenant.phones.reorder(:updated_at).last]) do
+ - cache(['tenant_show_admin_area_phones_table_cell', I18n.locale, @tenant, @tenant.phones.count, @tenant.phones.reorder(:updated_at).last]) do
%td
- if tenant.phones.any?
- if tenant.phones.count > GsParameter.get('NUMBER_OF_SHOWN_ITEMS')