From 6bfb5e125c0919d2cecdb22e1e8007fdc98e9589 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 27 Jun 2017 13:46:49 +0200 Subject: [PATCH 1/3] add tooltips to navigation bar --- app/views/shared/_navigation.html.erb | 22 +++++++++++++++------- config/locales/en.yml | 8 +++++++- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb index b39e084bc..52a780799 100644 --- a/app/views/shared/_navigation.html.erb +++ b/app/views/shared/_navigation.html.erb @@ -9,7 +9,7 @@ - <%= link_to(root_path, class: 'navbar-brand') do %> + <%= link_to(root_path, class: 'navbar-brand', title: t('nav.label.scinote')) do %> <% show_version = !Rails.env.production? if ENV['NAVBAR_SHOW_VERSION'].present? @@ -33,33 +33,33 @@