2015-12-21 11:53:31 +00:00
|
|
|
%tr{ class: 'tree-item' }
|
|
|
|
%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-04 14:07:49 +00:00
|
|
|
= file.name
|
|
|
|
%td
|
2016-01-08 11:35:49 +00:00
|
|
|
= number_to_human_size(file.metadata[:size], precision: 2)
|
2015-12-21 13:50:03 +00:00
|
|
|
%td
|
2016-01-14 11:12:05 +00:00
|
|
|
= link_to file_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: file.path),
|
2016-01-12 14:16:16 +00:00
|
|
|
class: 'btn btn-xs btn-default artifact-download' do
|
2015-12-21 13:50:03 +00:00
|
|
|
= icon('download')
|