2017-09-10 17:25:29 +05:30
|
|
|
.tree-ref-container
|
|
|
|
.tree-ref-holder
|
|
|
|
= render 'shared/ref_switcher', destination: 'tree', path: @path
|
|
|
|
- if show_new_repo?
|
|
|
|
.tree-ref-target-holder.js-tree-ref-target-holder
|
|
|
|
= icon('long-arrow-right', title: 'to target branch')
|
|
|
|
= render 'shared/target_switcher', destination: 'tree', path: @path
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
- unless show_new_repo?
|
|
|
|
= render 'projects/tree/old_tree_header'
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.tree-controls
|
|
|
|
- if show_new_repo?
|
|
|
|
= render 'shared/repo/editable_mode'
|
|
|
|
- else
|
|
|
|
= link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn'
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render 'projects/find_file_link'
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render 'projects/buttons/download', project: @project, ref: @ref
|