BigW Consortium Gitlab

browse.html.haml 748 Bytes
Newer Older
1
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
Phil Hughes committed
2
- header_title project_title(@project, "Builds", project_builds_path(@project))
3

4
.top-block.row-content-block.clearfix
5 6
  .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