2016-01-18 09:18:16 +00: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 11:53:31 +00:00
|
|
|
%td.tree-item-file-name
|
2016-01-04 14:07:49 +00:00
|
|
|
= tree_icon('file', '664', file.name)
|
2015-12-21 11:53:31 +00:00
|
|
|
%span.str-truncated
|
2016-01-18 09:18:16 +00:00
|
|
|
= link_to file.name, path_to_file
|
2016-01-04 14:07:49 +00:00
|
|
|
%td
|
2016-01-08 11:35:49 +00:00
|
|
|
= number_to_human_size(file.metadata[:size], precision: 2)
|