blob: 881a844a02d76693e7397da8f422ce05b0bbeb00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
%tr{ class: 'tree-item' }
%td.tree-item-file-name
= tree_icon('file', '664', file.name)
%span.str-truncated
= file.name
%td
= number_to_human_size(file.metadata[:size], precision: 2)
%td
= link_to file_namespace_project_build_artifacts_path(path: file.path),
class: 'btn btn-xs btn-default' do
= icon('download')
|