browse.html.haml 693 字节
Newer Older
F
Filipa Lacerda 已提交
1
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Jobs'
2

A
Annabel Dunstone 已提交
3
.top-block.row-content-block.clearfix
4 5
  .pull-right
    = link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
6
      rel: 'nofollow', download: '', class: 'btn btn-default download' do
7 8
      = icon('download')
      Download artifacts archive
9

10
.tree-holder
11
  .tree-content-holder
12
    %table.table.tree-table
13 14 15
      %thead
        %tr
          %th Name
16
          %th Size
17 18
      = render partial: 'tree_directory', collection: @entry.directories(parent: true), as: :directory
      = render partial: 'tree_file', collection: @entry.files, as: :file
19

20
- if @entry.empty?
21
  .center Empty