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

15 lines
577 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 class="active"><%= t("protocols.nav.breadcrumbs.manager") %></li>
2016-10-11 22:16:48 +08:00
<li class="disabled"><%= current_organization.name %></li>
2016-07-21 19:11:15 +08:00
<% else %>
<li><%= link_to t("protocols.nav.breadcrumbs.manager"), protocols_path(organization: current_organization, type: type) %></li>
<li class="active"><%= current_organization.name %></li>
<% end %>
<% if action_name == "edit" %>
<li class="active">
<%= t("protocols.nav.breadcrumbs.edit") %>
</li>
<% end %>
2016-10-11 22:16:48 +08:00
</ol>