mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
20 lines
790 B
Text
20 lines
790 B
Text
<ul class="sidebar-branch">
|
|
<li class="sidebar-leaf">
|
|
<%= link_to t('sidebar.my_module.back_button'), canvas_experiment_url(experiment), class: 'sidebar-link back-button' %>
|
|
</li>
|
|
<% my_modules.each do |my_module| %>
|
|
<li class="sidebar-leaf">
|
|
<%= link_to my_module.name,
|
|
protocols_my_module_url(my_module),
|
|
title: my_module.name,
|
|
class: "sidebar-link #{'selected' if my_module == current_my_module}",
|
|
data: { module_id: my_module.id } %>
|
|
</li>
|
|
<% end %>
|
|
<li class="sidebar-leaf">
|
|
<%= link_to module_archive_experiment_url(experiment), class: 'sidebar-link' do %>
|
|
<i class="fas fa-archive"></i>
|
|
<%= t('sidebar.my_modules.archived_button') %>
|
|
<% end%>
|
|
</li>
|
|
</ul>
|