2016-01-18 04:18:16 -05:00
|
|
|
- path_to_file = file_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: file.path)
|
|
|
|
|
|
|
|
%tr.tree-item{ 'data-link' => path_to_file }
|
2015-12-21 06:53:31 -05:00
|
|
|
%td.tree-item-file-name
|
2016-01-04 09:07:49 -05:00
|
|
|
= tree_icon('file', '664', file.name)
|
2015-12-21 06:53:31 -05:00
|
|
|
%span.str-truncated
|
2016-01-18 04:18:16 -05:00
|
|
|
= link_to file.name, path_to_file
|
2016-01-04 09:07:49 -05:00
|
|
|
%td
|
2016-01-08 06:35:49 -05:00
|
|
|
= number_to_human_size(file.metadata[:size], precision: 2)
|