1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <%= render partial: 'repository_breadcrumbs' %>
7 <table class="table table-condensed table-hover">
11 <th class="data-size">Size</th>
15 <% @subtree.each do |mode, sha1, size, subpath| %>
18 <span style="opacity: 0.6">
19 <% pathparts = subpath.sub(/^\//, '').split('/')
20 basename = pathparts.pop
22 pathparts.each do |pathpart| %>
23 <% parents = parents + '/' + pathpart %>
24 <%= link_to pathpart, url_for(path: parents) %>
28 <%= link_to basename, url_for(action: :show_blob, path: parents + '/' + basename) %>
30 <td class="data-size">
31 <%= human_readable_bytes_html(size) %>
35 <% if @subtree.empty? %>