scinote-web/app/views/protocols/_breadcrumbs.html.erb

15 lines
597 B
Text
Raw Normal View History

2016-07-21 19:11:15 +08:00
<ol class="breadcrumb breadcrumb-protocols-manager">
<% if action_name == "index" %>
<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 %>
<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>