diff options
Diffstat (limited to 'app/views/projects/tree/show.html.haml')
-rw-r--r-- | app/views/projects/tree/show.html.haml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml index 735ffae9e2c..1ef3020f35f 100644 --- a/app/views/projects/tree/show.html.haml +++ b/app/views/projects/tree/show.html.haml @@ -1,6 +1,9 @@ -%div.tree-ref-holder +.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 pull-right', split_button: true -%div#tree-holder.tree-holder + .tree-download-holder + = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small pull-right hidden-xs', split_button: true + +#tree-holder.tree-holder.clearfix = render "tree", tree: @tree |