summaryrefslogtreecommitdiff
path: root/app/views/projects/artifacts/browse.html.haml
blob: de8c173f26fe10b19acf983efb6610ca87b9e9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Jobs'

.top-block.row-content-block.clearfix
  .pull-right
    = link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
      rel: 'nofollow', download: '', class: 'btn btn-default download' do
      = icon('download')
      Download artifacts archive

.tree-holder
  .tree-content-holder
    %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