diff options
Diffstat (limited to 'app/views/admin/builds')
-rw-r--r-- | app/views/admin/builds/_build.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/builds/_build.html.haml b/app/views/admin/builds/_build.html.haml index 7cd98c0f540..26cdb162b76 100644 --- a/app/views/admin/builds/_build.html.haml +++ b/app/views/admin/builds/_build.html.haml @@ -60,7 +60,7 @@ %td .pull-right - - if current_user && can?(current_user, :download_build_artifacts, project) && build.artifacts_file.exist? + - if current_user && can?(current_user, :download_build_artifacts, project) && build.artifacts? = link_to build.artifacts_download_url, title: 'Download artifacts' do %i.fa.fa-download - if current_user && can?(current_user, :manage_builds, build.project) |