diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 21:01:23 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 21:01:23 +0100 |
commit | d7777f71e78ae173e26af39c7c65243b4604d6e8 (patch) | |
tree | bc283db831e37a3383873490d953172d8610f21f /app/views | |
parent | 63d392f39b44e143501ca06178c2e9b59f5053f5 (diff) |
Added a tooltip.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/phones/_index_core.html.haml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/phones/_index_core.html.haml b/app/views/phones/_index_core.html.haml index 347b260..9a865f0 100644 --- a/app/views/phones/_index_core.html.haml +++ b/app/views/phones/_index_core.html.haml @@ -22,6 +22,12 @@ %td %span.hidden-phone %a{:href => '#', :rel => "tooltip", :title => t('phones.tool_tips.hot_desk'), :'data-trigger' => 'hover'} - = phone.hot_deskable - %td= phone.ip_address + = phone.hot_deskable == true ? t('simple_form.yes') : t('simple_form.no') + + %td + - if phone.ip_address.blank? + %a{:href => '#', :rel => "tooltip", :title => t('phones.tool_tips.missing_ip_address'), :'data-trigger' => 'hover'} + = '-' + - else + = phone.ip_address =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone.phoneable, :child => phone}
\ No newline at end of file |