From ca8989616c7f2edb5b8b4fb04c7a58feef24ad49 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Wed, 23 Jan 2013 12:52:23 +0100 Subject: Add tooltips. --- app/views/layouts/application.html.haml | 1 + app/views/phones/_index_core.html.haml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 74331af..9fdcb8a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -14,6 +14,7 @@ / HTML5 shim, for IE6-8 support of HTML5 elements /[if lt IE 9] + %body .container .row diff --git a/app/views/phones/_index_core.html.haml b/app/views/phones/_index_core.html.haml index fa1c679..af57792 100644 --- a/app/views/phones/_index_core.html.haml +++ b/app/views/phones/_index_core.html.haml @@ -21,6 +21,7 @@ %td= phone.phone_model %td %span.hidden-phone - = phone.hot_deskable + %a{:href => '#', :rel => "tooltip", :title => t('phones.tool_tips.hot_desk'), :'data-trigger' => 'hover'} + = phone.hot_deskable %td= phone.ip_address =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone.phoneable, :child => phone} \ No newline at end of file -- cgit v1.2.3