mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-05 07:03:51 +08:00
change breadcrumbs on protocol managements page
This commit is contained in:
parent
9ae615264d
commit
a716a0b1db
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
<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>
|
||||
<li class="disabled"><%= current_team.name %></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>
|
||||
<li class="active"><%= current_team.name %></li>
|
||||
<% end %>
|
||||
<% if action_name == "edit" %>
|
||||
<li class="active">
|
||||
|
|
Loading…
Reference in a new issue