From d03be76f35da7856e2ad476610a3f77d63bbbe32 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 27 Jun 2017 14:48:45 +0200 Subject: [PATCH] add tooltips to archive buttons --- app/views/projects/index.html.erb | 2 +- app/views/protocols/index.html.erb | 2 +- app/views/shared/_secondary_navigation.html.erb | 8 ++++++-- config/locales/en.yml | 3 +++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 58e47d5fa..ac16d84d1 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -59,7 +59,7 @@
- + diff --git a/app/views/protocols/index.html.erb b/app/views/protocols/index.html.erb index 3b07639e4..d9a48073d 100644 --- a/app/views/protocols/index.html.erb +++ b/app/views/protocols/index.html.erb @@ -12,7 +12,7 @@ diff --git a/app/views/shared/_secondary_navigation.html.erb b/app/views/shared/_secondary_navigation.html.erb index 36b2006cc..ddea1c2ff 100644 --- a/app/views/shared/_secondary_navigation.html.erb +++ b/app/views/shared/_secondary_navigation.html.erb @@ -101,7 +101,9 @@ <% end %> <% if can_view_project_archive(@project) then %>
  • "> - + "> + +
  • <% end %> @@ -136,7 +138,9 @@ <% end %> <% if can_view_experiment_archive(@experiment) then %>
  • "> - + "> + +
  • <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 7c4205d84..8140dde09 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -97,6 +97,7 @@ en: samples: "Samples" activities: "Activity" reports: "Reports" + archive: "Archive" experiments: canvas: "Overview" modules: @@ -165,6 +166,7 @@ en: projects: index: head_title: "Home" + archive: "Archive" new: "New project" visibility_private: "Project is private. Only invited users can see it." visibility_public: "Project is public. Everybody from the team can see it." @@ -1418,6 +1420,7 @@ en: navigation: public: "Public protocols" private: "Private protocols" + archive: "Archive" public_description: "Public protocols are visible and can be used by everyone from the team." private_description: "Private protocols are only visible to you." create_new: "Create new"