2014-06-06 14:39:30 -04:00
|
|
|
.tree-ref-holder
|
2013-03-14 13:50:57 -04:00
|
|
|
= render 'shared/ref_switcher', destination: 'tree', path: @path
|
2014-06-06 14:39:30 -04:00
|
|
|
|
2014-01-02 11:31:25 -05:00
|
|
|
- if can? current_user, :download_code, @project
|
2014-06-06 14:39:30 -04:00
|
|
|
.tree-download-holder
|
2015-03-14 03:29:32 -04:00
|
|
|
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-sm pull-right hidden-xs hidden-sm', split_button: true
|
2014-06-06 14:39:30 -04:00
|
|
|
|
|
|
|
#tree-holder.tree-holder.clearfix
|
2012-10-03 18:29:15 -04:00
|
|
|
= render "tree", tree: @tree
|