summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
blob: feca145369752b8ad9e3758288dd7a33986d1e83 (plain)
1
2
3
4
5
6
7
8
9
.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