diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-28 11:10:39 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:14 +0100 |
commit | d8cc9e4ef7da6ac971d44361546188eebfb3beff (patch) | |
tree | 0e8d2326a25068565a45afb7c2026a363f4fd28b /app/views | |
parent | 87df1df3cd1a38bbb523d365b229e5e03f890788 (diff) | |
download | gitlab-ce-d8cc9e4ef7da6ac971d44361546188eebfb3beff.tar.gz |
Add button to CI build artifacts browser into build summary
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/builds/show.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml index 5b7ecce86ab..937ee293bc8 100644 --- a/app/views/projects/builds/show.html.haml +++ b/app/views/projects/builds/show.html.haml @@ -91,7 +91,12 @@ - if current_user && can?(current_user, :download_build_artifacts, @project) && @build.download_url .build-widget.center - = link_to "Download artifacts", @build.download_url, class: 'btn btn-sm btn-primary' + .panel.panel-default + .panel-heading Build artifacts + .panel-body + .btn-group{ role: :group } + = link_to "Download", @build.download_url, class: 'btn btn-sm btn-primary' + = link_to "Browse", @build.artifacts_browse_url, class: 'btn btn-sm btn-primary' .build-widget %h4.title |