Commit ddb6fb9c47740aa51caa30b8e35e15f0868a7be9
Exists in
spb-stable
and in
3 other branches
Merge pull request #6008 from jhollingsworth/fix/zip-archive-ui
Fix download archive menu for tree view.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/views/projects/tree/show.html.haml
1 | 1 | %div.tree-ref-holder |
2 | 2 | = render 'shared/ref_switcher', destination: 'tree', path: @path |
3 | 3 | - if can? current_user, :download_code, @project |
4 | - .tree-ref-holder.pull-right | |
5 | - = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small', split_button: true | |
4 | + = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small tree-ref-holder pull-right', split_button: true | |
6 | 5 | %div#tree-holder.tree-holder |
7 | 6 | = render "tree", tree: @tree | ... | ... |