2016-01-29 22:53:50 +05:30
|
|
|
- path_to_file = file_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: file.path)
|
|
|
|
|
|
|
|
%tr.tree-item{ 'data-link' => path_to_file }
|
2016-01-19 16:12:03 +05:30
|
|
|
%td.tree-item-file-name
|
|
|
|
= tree_icon('file', '664', file.name)
|
|
|
|
%span.str-truncated
|
2016-01-29 22:53:50 +05:30
|
|
|
= link_to file.name, path_to_file
|
2016-01-19 16:12:03 +05:30
|
|
|
%td
|
|
|
|
= number_to_human_size(file.metadata[:size], precision: 2)
|