mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +08:00
fix restore action from archives pages
This commit is contained in:
parent
4fb07e1e4f
commit
a3514bdaf0
3 changed files with 5 additions and 5 deletions
|
|
@ -45,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<%= link_to t("projects.index.back_to_projects_index"), projects_path %>
|
<%= link_to t("projects.index.back_to_projects_index"), projects_path, data: { turbolinks: 'false' } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
||||||
|
|
@ -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" data-turbolinks="false" title="">
|
||||||
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
</li>
|
</li>
|
||||||
<% 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" data-turbolinks="false" 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) %>"><span class="glyphicon glyphicon-briefcase"></span></a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
@ -135,7 +135,7 @@
|
||||||
</li>
|
</li>
|
||||||
<% 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" data-turbolinks="false" 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) %>"><span class="glyphicon glyphicon-briefcase"></span></a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
@ -211,7 +211,7 @@
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_view_module_archive(@my_module) then %>
|
<% if can_view_module_archive(@my_module) then %>
|
||||||
<li id="archive-nav-tab" class="<%= "active" if is_module_archive? %>">
|
<li id="archive-nav-tab" data-turbolinks="false" class="<%= "active" if is_module_archive? %>">
|
||||||
<a href="<%= archive_my_module_url(@my_module) %>">
|
<a href="<%= archive_my_module_url(@my_module) %>">
|
||||||
<span class="glyphicon glyphicon-briefcase" title="<%= t'nav2.modules.archive' %>"></span></a>
|
<span class="glyphicon glyphicon-briefcase" title="<%= t'nav2.modules.archive' %>"></span></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue