Commit 94cf7590 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Attach download action to artifacts file in ZIP archive

parent e9c26282
......@@ -6,5 +6,6 @@
%td
= number_to_human_size(file.metadata[:size], precision: 2)
%td
= link_to '', class: 'btn btn-xs btn-default' do
= link_to file_namespace_project_build_artifacts_path(path: file.path),
class: 'btn btn-xs btn-default' do
= icon('download')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment