summaryrefslogtreecommitdiff
path: root/app/views/projects/tree
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-18 21:02:18 -0700
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-18 21:04:31 -0700
commit5fa6af05eb42feed7e0ca69778019805f7780ea5 (patch)
tree28cef956506a30d657030f5fd87a30ea13569675 /app/views/projects/tree
parente00fb385b247f90f12ddadd090e87cd59f2ebb36 (diff)
downloadgitlab-ce-5fa6af05eb42feed7e0ca69778019805f7780ea5.tar.gz
Add artifacts to view branch page download dropdown
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index bf5360b4dee..c68f86f1378 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -11,7 +11,7 @@
.tree-controls
= render 'projects/find_file_link'
- if can? current_user, :download_code, @project
- = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped', split_button: true
+ = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped'
#tree-holder.tree-holder.clearfix
.nav-block