提交 ddb6fb9c 编写于 作者: D Dmitriy Zaporozhets

Merge pull request #6008 from jhollingsworth/fix/zip-archive-ui

Fix download archive menu for tree view.
%div.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: @path
- if can? current_user, :download_code, @project
.tree-ref-holder.pull-right
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small', split_button: true
= 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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册