2022-04-28 12:09:06 +00:00
|
|
|
- is_project_overview = local_assigns.fetch(:is_project_overview, false)
|
|
|
|
|
2021-06-08 18:10:23 +00:00
|
|
|
.tree-ref-container.gl-display-flex.mb-2.mb-md-0
|
2017-06-22 08:19:04 +00:00
|
|
|
.tree-ref-holder
|
2022-04-22 18:09:22 +00:00
|
|
|
= render 'shared/ref_switcher', destination: 'tree', show_create: true
|
2017-03-10 01:58:48 +00:00
|
|
|
|
2020-06-26 18:09:03 +00:00
|
|
|
#js-repo-breadcrumb{ data: breadcrumb_data_attributes }
|
2017-07-28 17:17:12 +00:00
|
|
|
|
2021-12-29 15:10:45 +00:00
|
|
|
#js-blob-controls
|
2020-02-25 12:08:48 +00:00
|
|
|
.tree-controls
|
2022-01-03 15:15:38 +00:00
|
|
|
.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3.gl-first-child-ml-sm-0<
|
2020-02-25 12:08:48 +00:00
|
|
|
= render_if_exists 'projects/tree/lock_link'
|
2022-04-28 12:09:06 +00:00
|
|
|
#js-tree-history-link{ data: { history_link: project_commits_path(@project, @ref), is_project_overview: is_project_overview.to_s } }
|
2020-02-25 12:08:48 +00:00
|
|
|
|
|
|
|
= render 'projects/find_file_link'
|
2020-10-15 06:09:14 +00:00
|
|
|
= render 'shared/web_ide_button', blob: nil
|
2020-02-25 12:08:48 +00:00
|
|
|
= render 'projects/buttons/download', project: @project, ref: @ref
|
2020-01-29 18:08:47 +00:00
|
|
|
|
2020-02-25 12:08:48 +00:00
|
|
|
.project-clone-holder.d-none.d-md-inline-block>
|
|
|
|
= render "projects/buttons/clone", dropdown_class: 'dropdown-menu-right'
|
2020-01-29 18:08:47 +00:00
|
|
|
|
2021-06-08 18:10:23 +00:00
|
|
|
.project-clone-holder.d-block.d-md-none.mt-sm-2.mt-md-0.ml-md-2>
|
2020-02-25 12:08:48 +00:00
|
|
|
= render "shared/mobile_clone_panel"
|