blob: 1d3d9306aa6caed084e7d3f246b1645204160c0c (
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 artifact-download' do
= icon('download')
|