gitlab-org--gitlab-foss/app/views/projects/tree/show.html.haml
Dmitriy Zaporozhets 30ca451fd4 Refactor buttons
2015-03-14 00:29:32 -07:00

9 lines
367 B
Text

.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path
- if can? current_user, :download_code, @project
.tree-download-holder
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-sm pull-right hidden-xs hidden-sm', split_button: true
#tree-holder.tree-holder.clearfix
= render "tree", tree: @tree