mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 13:14:29 +08:00
add tooltips to archive buttons
This commit is contained in:
parent
0160956377
commit
d03be76f35
4 changed files with 11 additions and 4 deletions
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<!-- project archive button -->
|
<!-- project archive button -->
|
||||||
<a class="btn btn-default pull-right" href="<%= url_for projects_archive_path %>" id="project-archive-btn" title="">
|
<a class="btn btn-default pull-right" href="<%= url_for projects_archive_path %>" id="project-archive-btn" title="<%= t'projects.index.archive' %>">
|
||||||
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation" class="<%= "active" if @type == :archive %>">
|
<li role="presentation" class="<%= "active" if @type == :archive %>">
|
||||||
<%= link_to protocols_path(team: @current_team, type: :archive) do %>
|
<%= link_to protocols_path(team: @current_team, type: :archive) do %>
|
||||||
<span class="glyphicon glyphicon-briefcase"></span>
|
<span class="glyphicon glyphicon-briefcase" title="<%= t'protocols.index.navigation.archive' %>"></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -101,7 +101,9 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_view_project_archive(@project) then %>
|
<% if can_view_project_archive(@project) then %>
|
||||||
<li id="project-archive-nav-tab" class="<%= "active" if is_project_archive? %>">
|
<li id="project-archive-nav-tab" class="<%= "active" if is_project_archive? %>">
|
||||||
<a href="<%= experiment_archive_project_url(@project) %>"><span class="glyphicon glyphicon-briefcase"></span></a>
|
<a href="<%= experiment_archive_project_url(@project) %>" title="<%=t "nav2.projects.archive" %>">
|
||||||
|
<span class="glyphicon glyphicon-briefcase"></span>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
@ -136,7 +138,9 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_view_experiment_archive(@experiment) then %>
|
<% if can_view_experiment_archive(@experiment) then %>
|
||||||
<li id="project-archive-nav-tab" class="<%= "active" if is_experiment_archive? %>">
|
<li id="project-archive-nav-tab" class="<%= "active" if is_experiment_archive? %>">
|
||||||
<a href="<%= module_archive_experiment_url(@experiment) %>"><span class="glyphicon glyphicon-briefcase"></span></a>
|
<a href="<%= module_archive_experiment_url(@experiment) %>" title="<%=t "nav2.projects.archive" %>">
|
||||||
|
<span class="glyphicon glyphicon-briefcase"></span>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,7 @@ en:
|
||||||
samples: "Samples"
|
samples: "Samples"
|
||||||
activities: "Activity"
|
activities: "Activity"
|
||||||
reports: "Reports"
|
reports: "Reports"
|
||||||
|
archive: "Archive"
|
||||||
experiments:
|
experiments:
|
||||||
canvas: "Overview"
|
canvas: "Overview"
|
||||||
modules:
|
modules:
|
||||||
|
@ -165,6 +166,7 @@ en:
|
||||||
projects:
|
projects:
|
||||||
index:
|
index:
|
||||||
head_title: "Home"
|
head_title: "Home"
|
||||||
|
archive: "Archive"
|
||||||
new: "New project"
|
new: "New project"
|
||||||
visibility_private: "Project is private. Only invited users can see it."
|
visibility_private: "Project is private. Only invited users can see it."
|
||||||
visibility_public: "Project is public. Everybody from the team can see it."
|
visibility_public: "Project is public. Everybody from the team can see it."
|
||||||
|
@ -1418,6 +1420,7 @@ en:
|
||||||
navigation:
|
navigation:
|
||||||
public: "Public protocols"
|
public: "Public protocols"
|
||||||
private: "Private protocols"
|
private: "Private protocols"
|
||||||
|
archive: "Archive"
|
||||||
public_description: "Public protocols are visible and can be used by everyone from the team."
|
public_description: "Public protocols are visible and can be used by everyone from the team."
|
||||||
private_description: "Private protocols are only visible to you."
|
private_description: "Private protocols are only visible to you."
|
||||||
create_new: "Create new"
|
create_new: "Create new"
|
||||||
|
|
Loading…
Add table
Reference in a new issue