fix restore action from archives pages

This commit is contained in:
Mojca Lorber 2017-06-29 16:14:25 +02:00
parent 4fb07e1e4f
commit a3514bdaf0
3 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@
</div>
<div>
<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>
<% end %>

View file

@ -59,7 +59,7 @@
<div class="form-group">
<!-- 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>
</a>

View file

@ -100,7 +100,7 @@
</li>
<% end %>
<% 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>
</li>
<% end %>
@ -135,7 +135,7 @@
</li>
<% end %>
<% 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>
</li>
<% end %>
@ -211,7 +211,7 @@
</li>
<% end %>
<% 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) %>">
<span class="glyphicon glyphicon-briefcase" title="<%= t'nav2.modules.archive' %>"></span></a>
</li>