2016-01-19 16:12:03 +05:30
|
|
|
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
|
2016-06-16 23:09:34 +05:30
|
|
|
- header_title project_title(@project, "Builds", project_builds_path(@project))
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.top-block.row-content-block.clearfix
|
2016-01-29 22:53:50 +05:30
|
|
|
.pull-right
|
|
|
|
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
|
|
|
|
class: 'btn btn-default download' do
|
|
|
|
= icon('download')
|
|
|
|
Download artifacts archive
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2016-01-29 22:53:50 +05:30
|
|
|
.tree-holder
|
|
|
|
%div.tree-content-holder
|
|
|
|
%table.table.tree-table
|
2016-01-19 16:12:03 +05:30
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Name
|
|
|
|
%th Size
|
|
|
|
= render partial: 'tree_directory', collection: @entry.directories(parent: true), as: :directory
|
|
|
|
= render partial: 'tree_file', collection: @entry.files, as: :file
|
|
|
|
|
|
|
|
- if @entry.empty?
|
|
|
|
.center Empty
|