8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / app / views / repositories / _repository_breadcrumbs.html.erb
1 <div class="pull-right">
2   <span class="deemphasize">Browsing <%= @object.name %> repository at commit</span>
3   <%= link_to(@commit, show_repository_commit_path(id: @object.uuid, commit: @commit), title: 'show commit message') %>
4 </div>
5 <p>
6   <%= link_to(@object.name, show_repository_tree_path(id: @object.uuid, commit: @commit, path: ''), title: 'show root directory of source tree') %>
7   <% parents = ''
8      (@path || '').split('/').each do |pathpart|
9      parents = parents + pathpart + '/'
10      %>
11     / <%= link_to pathpart, show_repository_tree_path(id: @object.uuid, commit: @commit, path: parents) %>
12   <% end %>
13 </p>