diff options
author | spag <spag@golwen.net> | 2013-01-18 11:19:28 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-18 11:19:28 +0100 |
commit | c11734ec34349a5d8dee4722ab798a6e5aa3c0f4 (patch) | |
tree | 9ec92b252ee8eb5913783725355e9532302887b3 /app/views/tenants/_sip_accounts_and_phones.html.haml | |
parent | 1e465e49670f6c0fccc1cd920992a14942d3cfba (diff) | |
parent | d4e7d4a5d5bdb63fbda279dbc8dd2ec495b90907 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/tenants/_sip_accounts_and_phones.html.haml')
-rw-r--r-- | app/views/tenants/_sip_accounts_and_phones.html.haml | 2 |
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') |