Merge branch 'master' into 1979-workbench-ui
[arvados.git] / apps / workbench / app / views / application / _breadcrumbs.html.erb
1 <ul class="nav">
2   <li class="nav-separator">
3     <span><i class="icon-arrow-right"></i></span>
4   </li>
5   <li>
6     <%= link_to(
7         controller.model_class.to_s.pluralize.underscore.gsub('_', ' '),
8         url_for({controller: params[:controller]})) %>
9   </li>
10   <% if params[:action] != 'index' %>
11     <li class="nav-separator">
12       <span><i class="icon-arrow-right"></i></span>
13     </li>
14     <li>
15       <%= render partial: 'breadcrumb_page_name' %>
16     </li>
17   <% end %>
18 </ul>