gitlab-org--gitlab-foss/app/views/projects/artifacts/browse.html.haml

22 lines
664 B
Text
Raw Normal View History

- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
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),
class: 'btn btn-default download' do
2016-01-18 04:18:16 -05:00
= icon('download')
Download artifacts archive
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
%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