BigW Consortium Gitlab

Commit 914336b2 by Lin Jen-Shin

Links to search_namespace_project_artifacts_path instead

parent 57a78c37
......@@ -43,7 +43,7 @@
= " (not latest, but #{link_to(pipeline.short_sha, namespace_project_commits_path(@project.namespace, @project, pipeline.sha))})"
- artifacts.each do |job|
%li
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, job), rel: 'nofollow' do
= link_to search_namespace_project_artifacts_path(@project.namespace, @project, branch.name, 'download', job: job.name), rel: 'nofollow' do
%span Download '#{job.name}'
- if can_remove_branch?(@project, branch.name)
......
......@@ -23,5 +23,5 @@
= " (not latest, but #{link_to(pipeline.short_sha, namespace_project_commits_path(@project.namespace, @project, pipeline.sha))})"
- artifacts.each do |job|
%li
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, job), rel: 'nofollow' do
= link_to search_namespace_project_artifacts_path(@project.namespace, @project, @ref, 'download', job: job.name), rel: 'nofollow' do
%span Download '#{job.name}'
......@@ -21,5 +21,5 @@
= " (not latest, but #{link_to(pipeline.short_sha, namespace_project_commits_path(project.namespace, project, pipeline.sha))})"
- artifacts.each do |job|
%li
= link_to download_namespace_project_build_artifacts_path(project.namespace, project, job), rel: 'nofollow' do
= link_to search_namespace_project_artifacts_path(project.namespace, project, ref, 'download', job: job.name), rel: 'nofollow' do
%span Download '#{job.name}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment