2015-12-17 14:17:00 +00:00
|
|
|
- page_title "#{@build.name} (##{@build.id})", 'Build artifacts'
|
|
|
|
- header_title project_title(@project, "Build artifacts", namespace_project_build_path(@project.namespace, @project, @build))
|
|
|
|
|
2015-12-21 13:50:03 +00:00
|
|
|
#tree-holder.tree-holder
|
|
|
|
.gray-content-block.top-block.clearfix
|
|
|
|
.pull-right
|
|
|
|
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
|
|
|
|
class: 'btn btn-default', method: :get do
|
|
|
|
= icon('download')
|
|
|
|
Download artifacts archive
|
|
|
|
|
|
|
|
%div.tree-content-holder
|
|
|
|
.table-holder
|
|
|
|
%table.table.tree-table.table-striped
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Name
|
2016-01-04 14:07:49 +00:00
|
|
|
%th Size
|
2015-12-21 13:50:03 +00:00
|
|
|
%th Download
|
2015-12-22 10:05:22 +00:00
|
|
|
= render partial: 'tree_directory', collection: @path.directories!, as: :directory
|
2015-12-21 13:50:03 +00:00
|
|
|
= render partial: 'tree_file', collection: @path.files, as: :file
|
2015-12-28 09:35:51 +00:00
|
|
|
|
|
|
|
- if @path.children.empty?
|
|
|
|
.center Empty
|