2017-01-26 06:52:58 -05:00
|
|
|
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Jobs'
|
2015-12-17 09:17:00 -05:00
|
|
|
|
2016-04-25 16:02:15 -04:00
|
|
|
.top-block.row-content-block.clearfix
|
2016-01-18 04:18:16 -05:00
|
|
|
.pull-right
|
|
|
|
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
|
2016-01-21 09:05:51 -05:00
|
|
|
class: 'btn btn-default download' do
|
2016-01-18 04:18:16 -05:00
|
|
|
= icon('download')
|
|
|
|
Download artifacts archive
|
2015-12-21 08:50:03 -05:00
|
|
|
|
2016-01-18 04:18:16 -05:00
|
|
|
.tree-holder
|
2016-12-23 04:37:12 -05:00
|
|
|
.tree-content-holder
|
2016-01-18 04:18:16 -05:00
|
|
|
%table.table.tree-table
|
2015-12-21 08:50:03 -05:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Name
|
2016-01-04 09:07:49 -05:00
|
|
|
%th Size
|
2016-01-13 15:17:28 -05:00
|
|
|
= render partial: 'tree_directory', collection: @entry.directories(parent: true), as: :directory
|
|
|
|
= render partial: 'tree_file', collection: @entry.files, as: :file
|
2015-12-28 04:35:51 -05:00
|
|
|
|
2016-01-13 15:17:28 -05:00
|
|
|
- if @entry.empty?
|
2015-12-28 04:35:51 -05:00
|
|
|
.center Empty
|