BigW Consortium Gitlab

_tree_file.html.haml 363 Bytes
Newer Older
1 2 3
- path_to_file = file_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: file.path)

%tr.tree-item{ 'data-link' => path_to_file }
Grzegorz Bizon committed
4
  %td.tree-item-file-name
5
    = tree_icon('file', '664', file.name)
Grzegorz Bizon committed
6
    %span.str-truncated
7
      = link_to file.name, path_to_file
8
  %td
9
    = number_to_human_size(file.metadata[:size], precision: 2)