Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 13:41:22 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 13:41:22 +0300
commite4d07f12b65fa8d1753a950a79c985406614c2b1 (patch)
tree40b6b55712db44475af44b6765244706b61f41c2 /app/views
parentd5486807ba979172e35b81a6b74243225473b69f (diff)
Test against public projects
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/artifacts/_tree_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml
index 473b9debb3a..a97ddb3c377 100644
--- a/app/views/projects/artifacts/_tree_file.html.haml
+++ b/app/views/projects/artifacts/_tree_file.html.haml
@@ -1,6 +1,6 @@
- blob = file.blob
- path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path)
-- external_link = blob.external_link? && @project.public?
+- external_link = blob.external_link?(@build)
%tr.tree-item.js-artifact-tree-row{ data: { link: path_to_file, external_link: "#{external_link}" } }
%td.tree-item-file-name