gitlab-org--gitlab-foss/app/views/projects/tree/show.html.haml
Jason Hollingsworth b89b00bf6c Fix download archive menu for tree view.
This fixes the issue of the menu going outside of the main `container`.
2014-01-08 11:33:35 -06:00

6 lines
337 B
Text

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