Merge pull request #1326 from Zanz2/zz_pio_upload_button_sci2760

Disabled turbolinks in left navigation bar protocols button [SCI-2760]
This commit is contained in:
Zanz2 2018-10-10 17:14:15 +02:00 committed by GitHub
commit 4dc1320988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,8 @@
<% end %> <% end %>
</li> </li>
<li class="<%= "active" if templates_are_selected? %>"> <li class="<%= "active" if templates_are_selected? %>">
<%= link_to protocols_path, id: "templates-link", title: t('left_menu_bar.templates') do %> <%= link_to protocols_path, id: "templates-link", title: t('left_menu_bar.templates'),
data: { turbolinks: false } do %>
<span class="fas fa-edit"></span> <span class="fas fa-edit"></span>
<span><%= t('left_menu_bar.templates') %></span> <span><%= t('left_menu_bar.templates') %></span>
<% end %> <% end %>