browse.html.haml 709 字节
Newer Older
1 2
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
= render 'projects/builds/header_title'
3

4 5 6
.top-block.gray-content-block.clearfix
  .pull-right
    = link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
7
      class: 'btn btn-default download' do
8 9
      = icon('download')
      Download artifacts archive
10

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

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