2017-06-22 04:19:04 -04:00
|
|
|
.tree-ref-container
|
|
|
|
.tree-ref-holder
|
2017-10-23 06:57:23 -04:00
|
|
|
= render 'shared/ref_switcher', destination: 'tree', path: @path, show_create: true
|
2017-03-09 20:58:48 -05:00
|
|
|
|
2017-10-30 10:36:24 -04:00
|
|
|
- if show_new_repo? && can_push_branch?(@project, @ref)
|
2017-10-12 05:55:11 -04:00
|
|
|
.js-new-dropdown
|
|
|
|
- else
|
2017-07-28 13:17:12 -04:00
|
|
|
= render 'projects/tree/old_tree_header'
|
|
|
|
|
2017-03-09 20:58:48 -05:00
|
|
|
.tree-controls
|
2017-07-28 13:17:12 -04:00
|
|
|
- if show_new_repo?
|
2017-10-26 12:36:27 -04:00
|
|
|
.editable-mode
|
2017-07-28 13:17:12 -04:00
|
|
|
- else
|
|
|
|
= link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn'
|
2015-12-18 11:15:05 -05:00
|
|
|
|
2017-03-09 20:58:48 -05:00
|
|
|
= render 'projects/find_file_link'
|
2017-05-08 19:58:54 -04:00
|
|
|
|
2017-03-09 20:58:48 -05:00
|
|
|
= render 'projects/buttons/download', project: @project, ref: @ref
|