20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / views / repositories / show_tree.html.erb
diff --git a/apps/workbench/app/views/repositories/show_tree.html.erb b/apps/workbench/app/views/repositories/show_tree.html.erb
deleted file mode 100644 (file)
index 3545131..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<%= render partial: 'repository_breadcrumbs' %>
-
-<table class="table table-condensed table-hover">
-  <thead>
-    <tr>
-      <th>File</th>
-      <th class="data-size">Size</th>
-    </tr>
-  </thead>
-  <tbody>
-    <% @subtree.each do |mode, sha1, size, subpath| %>
-      <tr>
-        <td>
-          <span style="opacity: 0.6">
-            <% pathparts = subpath.sub(/^\//, '').split('/')
-               basename = pathparts.pop
-               parents = @path
-               pathparts.each do |pathpart| %>
-              <% parents = parents + '/' + pathpart %>
-              <%= link_to pathpart, url_for(path: parents) %>
-              /
-            <% end %>
-          </span>
-          <%= link_to basename, url_for(action: :show_blob, path: parents + '/' + basename) %>
-        </td>
-        <td class="data-size">
-          <%= human_readable_bytes_html(size) %>
-        </td>
-      </tr>
-    <% end %>
-    <% if @subtree.empty? %>
-      <tr>
-        <td>
-          No files found.
-        </td>
-      </tr>
-    <% end %>
-  </tbody>
-  <tfoot></tfoot>
-</table>