Browse Source

bar tooltips

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
f3d2c03fc9
  1. 6
      app/views/shared/navigation/_application.html.erb
  2. 6
      app/views/shared/navigation/_public.html.erb

6
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 %>
<i class="icon-white icon-share-alt"></i> 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 %>
<i class="icon-white icon-heart"></i> Donate
<% end %>
<li class="dropdown">

6
app/views/shared/navigation/_public.html.erb

@ -14,10 +14,12 @@
<% end %>
<% semantic_navigation :session_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 %>
<i class="icon-white icon-share-alt"></i> 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 %>
<i class="icon-white icon-heart"></i> Donate
<% end %>
<%= n.item '', link: new_user_registration_path do %>

Loading…
Cancel
Save