2018-03-17 18:26:18 +05:30
|
|
|
- breadcrumb_title _('Artifacts')
|
2020-07-28 23:09:34 +05:30
|
|
|
- page_title @path.presence, _('Artifacts'), "#{@build.name} (##{@build.id})", _('Jobs')
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
= render "projects/jobs/header"
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
- add_to_breadcrumbs(s_('CICD|Jobs'), project_jobs_path(@project))
|
2019-07-07 11:18:12 +05:30
|
|
|
- add_to_breadcrumbs("##{@build.id}", project_job_path(@project, @build))
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2016-01-29 22:53:50 +05:30
|
|
|
.tree-holder
|
2017-08-17 22:00:37 +05:30
|
|
|
.nav-block
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.breadcrumb-item
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to 'Artifacts', browse_project_job_artifacts_path(@project, @build)
|
2017-08-17 22:00:37 +05:30
|
|
|
- path_breadcrumbs do |title, path|
|
2018-11-08 19:23:39 +05:30
|
|
|
%li.breadcrumb-item
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to truncate(title, length: 40), browse_project_job_artifacts_path(@project, @build, path)
|
|
|
|
|
2020-01-01 13:55:28 +05:30
|
|
|
.tree-controls<
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to download_project_job_artifacts_path(@project, @build),
|
2021-01-29 00:20:46 +05:30
|
|
|
rel: 'nofollow', download: '', class: 'gl-button btn btn-default download' do
|
2021-04-17 20:07:23 +05:30
|
|
|
= sprite_icon('download', css_class: 'gl-mr-2')
|
2017-09-10 17:25:29 +05:30
|
|
|
Download artifacts archive
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.tree-content-holder
|
2016-01-29 22:53:50 +05:30
|
|
|
%table.table.tree-table
|
2016-01-19 16:12:03 +05:30
|
|
|
%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
|