debian-mirror-gitlab/app/views/projects/tree/_tree_header.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
1.1 KiB
Text
Raw Normal View History

2022-07-16 23:28:13 +05:30
- is_project_overview = local_assigns.fetch(:is_project_overview, false)
2023-04-23 21:23:45 +05:30
.tree-ref-container.gl-display-flex.gl-flex-wrap.gl-gap-2.mb-2.mb-md-0
2023-07-09 08:55:56 +05:30
.tree-ref-holder.gl-max-w-26{ data: { qa_selector: 'ref_dropdown_container' } }
2023-05-08 21:46:49 +05:30
#js-tree-ref-switcher{ data: { project_id: @project.id, ref_type: @ref_type.to_s, project_root_path: project_path(@project) } }
2017-08-17 22:00:37 +05:30
2020-07-28 23:09:34 +05:30
#js-repo-breadcrumb{ data: breadcrumb_data_attributes }
2015-11-26 14:37:03 +05:30
2022-03-02 08:16:31 +05:30
#js-blob-controls
2020-03-13 15:44:24 +05:30
.tree-controls
2022-03-02 08:16:31 +05:30
.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3.gl-first-child-ml-sm-0<
2020-03-13 15:44:24 +05:30
= render_if_exists 'projects/tree/lock_link'
2022-07-16 23:28:13 +05:30
#js-tree-history-link{ data: { history_link: project_commits_path(@project, @ref), is_project_overview: is_project_overview.to_s } }
2020-03-13 15:44:24 +05:30
= render 'projects/find_file_link'
2021-01-03 14:25:43 +05:30
= render 'shared/web_ide_button', blob: nil
2020-03-13 15:44:24 +05:30
= render 'projects/buttons/download', project: @project, ref: @ref
.project-clone-holder.d-none.d-md-inline-block>
= render "projects/buttons/clone", dropdown_class: 'dropdown-menu-right'
2019-02-15 15:39:39 +05:30
2021-09-04 01:27:46 +05:30
.project-clone-holder.d-block.d-md-none.mt-sm-2.mt-md-0.ml-md-2>
2020-03-13 15:44:24 +05:30
= render "shared/mobile_clone_panel"