mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
14 lines
597 B
Text
14 lines
597 B
Text
<ol class="breadcrumb breadcrumb-protocols-manager">
|
|
<% if action_name == "index" %>
|
|
<li><%= link_to current_team.name, projects_path(team: current_team) %></li>
|
|
<li class="active"><%= t("protocols.nav.breadcrumbs.manager") %></li>
|
|
<% else %>
|
|
<li><%= link_to current_team.name, projects_path(team: current_team) %></li>
|
|
<li><%= link_to t("protocols.nav.breadcrumbs.manager"), protocols_path(team: current_team, type: type) %></li>
|
|
<% end %>
|
|
<% if action_name == "edit" %>
|
|
<li class="active">
|
|
<%= t("protocols.nav.breadcrumbs.edit") %>
|
|
</li>
|
|
<% end %>
|
|
</ol>
|