2016-07-21 19:11:15 +08:00
|
|
|
<ol class="breadcrumb breadcrumb-protocols-manager">
|
|
|
|
<% if action_name == "index" %>
|
2017-05-22 23:58:42 +08:00
|
|
|
<li><%= link_to current_team.name, projects_path(team: current_team) %></li>
|
2016-07-21 19:11:15 +08:00
|
|
|
<li class="active"><%= t("protocols.nav.breadcrumbs.manager") %></li>
|
|
|
|
<% else %>
|
2017-05-22 23:58:42 +08:00
|
|
|
<li><%= link_to current_team.name, projects_path(team: current_team) %></li>
|
2017-01-25 19:01:23 +08:00
|
|
|
<li><%= link_to t("protocols.nav.breadcrumbs.manager"), protocols_path(team: current_team, type: type) %></li>
|
2016-07-21 19:11:15 +08:00
|
|
|
<% end %>
|
|
|
|
<% if action_name == "edit" %>
|
|
|
|
<li class="active">
|
|
|
|
<%= t("protocols.nav.breadcrumbs.edit") %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2016-10-11 22:16:48 +08:00
|
|
|
</ol>
|