2020-06-22 08:08:47 -04:00
|
|
|
- page_title @path, _('Artifacts'), "#{@build.name} (##{@build.id})", _('Jobs')
|
2017-05-02 18:42:37 -04:00
|
|
|
|
2018-10-17 06:34:19 -04:00
|
|
|
= render "projects/jobs/header"
|
2017-05-02 18:42:37 -04:00
|
|
|
|
2017-08-07 06:07:25 -04:00
|
|
|
.tree-holder
|
2017-05-02 18:42:37 -04:00
|
|
|
.nav-block
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
2018-04-09 13:28:47 -04:00
|
|
|
%li.breadcrumb-item
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to 'Artifacts', browse_project_job_artifacts_path(@project, @build)
|
2017-05-02 18:42:37 -04:00
|
|
|
- path_breadcrumbs do |title, path|
|
|
|
|
- title = truncate(title, length: 40)
|
2018-04-09 13:28:47 -04:00
|
|
|
%li.breadcrumb-item
|
2017-05-02 18:42:37 -04:00
|
|
|
- if path == @path
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to file_project_job_artifacts_path(@project, @build, path) do
|
2017-05-02 18:42:37 -04:00
|
|
|
%strong= title
|
|
|
|
- else
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to title, browse_project_job_artifacts_path(@project, @build, path)
|
2017-05-02 18:42:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
%article.file-holder
|
|
|
|
- blob = @entry.blob
|
|
|
|
.js-file-title.file-title-flex-parent
|
|
|
|
= render 'projects/blob/header_content', blob: blob
|
|
|
|
|
2018-04-09 17:50:40 -04:00
|
|
|
.file-actions.d-none.d-sm-block
|
2017-05-02 18:42:37 -04:00
|
|
|
= render 'projects/blob/viewer_switcher', blob: blob
|
|
|
|
|
|
|
|
.btn-group{ role: "group" }<
|
|
|
|
= copy_blob_source_button(blob)
|
2018-07-12 21:24:11 -04:00
|
|
|
= download_blob_button(blob)
|
2017-05-02 18:42:37 -04:00
|
|
|
|
|
|
|
= render 'projects/blob/content', blob: blob
|