summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-14 18:34:57 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-14 18:34:57 +0100
commit40d8290361bff123e0b44defa0f199708b89093b (patch)
treed975c24a0b1969e2a9cc1ec7709dec2861ebce37 /app/views
parent13658ab197777d0b4870bfa51ac4115a9afed845 (diff)
Adds a new remote_ip_address methode to figure out the remote IP address. #245
Diffstat (limited to 'app/views')
-rw-r--r--app/views/switchboard_entries/_switchboard_entry.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/switchboard_entries/_switchboard_entry.html.haml b/app/views/switchboard_entries/_switchboard_entry.html.haml
index 8d8e747..b2b6bff 100644
--- a/app/views/switchboard_entries/_switchboard_entry.html.haml
+++ b/app/views/switchboard_entries/_switchboard_entry.html.haml
@@ -2,7 +2,7 @@
%div.thumbnail
%a.thumbnail{:href => tenant_user_path(switchboard_entry.sip_account.sip_accountable.current_tenant, switchboard_entry.sip_account.sip_accountable)}
- if switchboard_entry.sip_account.sip_accountable.image?
- = image_tag(switchboard_entry.sip_account.sip_accountable.image_url(:mini).to_s, :class => 'img-rounded')
+ = image_tag(switchboard_entry.sip_account.sip_accountable.image_url(:small).to_s, :class => 'img-rounded')
- else
- if switchboard_entry.sip_account.sip_accountable.male?
= image_tag 'icons/user-male-16x.png', :class => 'img-rounded'