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

15 lines
543 B
Plaintext
Raw Normal View History

2016-07-21 19:11:15 +08:00
<ol class="breadcrumb breadcrumb-protocols-manager">
<% if action_name == "index" %>
<li class="active"><%= t("protocols.nav.breadcrumbs.manager") %></li>
2017-01-25 19:01:23 +08:00
<li class="disabled"><%= current_team.name %></li>
2016-07-21 19:11:15 +08:00
<% else %>
2017-01-25 19:01:23 +08:00
<li><%= link_to t("protocols.nav.breadcrumbs.manager"), protocols_path(team: current_team, type: type) %></li>
<li class="active"><%= current_team.name %></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>