diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-12 11:02:15 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:16 +0100 |
commit | 487b0a026f9efe2d8214c19a7b95b391708ba3f4 (patch) | |
tree | de1454b660d4478af5dafdfcfd027c787c6ae0c3 /app/views/admin | |
parent | 2be76355caa579d444c8e3c0d25563eb9778bfb2 (diff) | |
download | gitlab-ce-487b0a026f9efe2d8214c19a7b95b391708ba3f4.tar.gz |
Improvements, readability for artifacts browser
Diffstat (limited to 'app/views/admin')
-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 26cdb162b76..c395bd908c3 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? + - if current_user && can?(current_user, :read_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) |