summaryrefslogtreecommitdiff
path: root/app/views/tenants
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 17:24:13 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 17:24:13 +0100
commit801f53f49f5440acaeba70c65df8d3e611c0b4c4 (patch)
treeb04cea693c5b36dd19c47e0133472b911e726088 /app/views/tenants
parenta248db30eb469f1fd99508df0cfbf47c4ad80b8c (diff)
Fixed not rendered link to create a new SIP account.
Diffstat (limited to 'app/views/tenants')
-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 f9d26f9..618236f 100644
--- a/app/views/tenants/_sip_accounts_and_phones.html.haml
+++ b/app/views/tenants/_sip_accounts_and_phones.html.haml
@@ -18,7 +18,7 @@
=link_to "#{sip_account.caller_name}", tenant_sip_account_path(tenant,sip_account)
- if sip_account.phone_numbers.any?
= '[' + 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}
+ = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => SipAccount}
%td
- if tenant.users_sip_accounts.any?
- if tenant.users_sip_accounts.count > GsParameter.get('NUMBER_OF_SHOWN_ITEMS')