debian-mirror-gitlab/app/views/projects/artifacts/file.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1 KiB
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- page_title @path, _('Artifacts'), "#{@build.name} (##{@build.id})", _('Jobs')
2017-08-17 22:00:37 +05:30
2018-12-13 13:39:08 +05:30
= render "projects/jobs/header"
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +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|
- title = truncate(title, length: 40)
2018-11-08 19:23:39 +05:30
%li.breadcrumb-item
2017-08-17 22:00:37 +05:30
- if path == @path
2017-09-10 17:25:29 +05:30
= link_to file_project_job_artifacts_path(@project, @build, path) do
2017-08-17 22:00:37 +05:30
%strong= title
- else
2017-09-10 17:25:29 +05:30
= link_to title, browse_project_job_artifacts_path(@project, @build, path)
2017-08-17 22:00:37 +05:30
%article.file-holder
- blob = @entry.blob
.js-file-title.file-title-flex-parent
= render 'projects/blob/header_content', blob: blob
2018-11-08 19:23:39 +05:30
.file-actions.d-none.d-sm-block
2017-08-17 22:00:37 +05:30
= render 'projects/blob/viewer_switcher', blob: blob
.btn-group{ role: "group" }<
= copy_blob_source_button(blob)
2018-11-18 11:00:15 +05:30
= download_blob_button(blob)
2017-08-17 22:00:37 +05:30
= render 'projects/blob/content', blob: blob