From f3d2c03fc93eb21fa0b42331d301f0d6e4a35221 Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Sat, 10 Mar 2012 03:03:39 -0800 Subject: [PATCH] bar tooltips --- app/views/shared/navigation/_application.html.erb | 6 ++++-- app/views/shared/navigation/_public.html.erb | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/shared/navigation/_application.html.erb b/app/views/shared/navigation/_application.html.erb index 04ecc82..4f28ff3 100644 --- a/app/views/shared/navigation/_application.html.erb +++ b/app/views/shared/navigation/_application.html.erb @@ -12,10 +12,12 @@ <% end %> <% semantic_navigation :user_nav, html: { class: 'nav pull-right' } do |n| %> - <%= n.item '', link: Settings.news_link, html: { rel: 'tooltip', title: Settings.news_link } do %> + <%= n.item '', link: Settings.news_link, + html: { rel: 'tooltip', data: { placement: 'bottom' }, title: Settings.news_link } do %> News <% end %> - <%= n.item '', link: page_path('donate'), html: { rel: 'tooltip', title: 'PayPal', class: 'highlight' } do %> + <%= n.item '', link: page_path('donate'), + html: { rel: 'tooltip', title: 'PayPal', data: { placement: 'bottom' }, class: 'highlight' } do %> Donate <% end %>