_tree_header.html.haml 997 Bytes
Newer Older
Annabel Dunstone Gray's avatar
Annabel Dunstone Gray committed
1
2
.tree-ref-container
  .tree-ref-holder
3
    = render 'shared/ref_switcher', destination: 'tree', path: @path, show_create: true
4

5
  #js-repo-breadcrumb{ data: breadcrumb_data_attributes }
6

7
8
9
.tree-controls
  .d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3<
    = render_if_exists 'projects/tree/lock_link'
10
    #js-tree-history-link.d-inline-block{ data: { history_link: project_commits_path(@project, @ref) } }
11
12

    = render 'projects/find_file_link'
Georges Racinet's avatar
Georges Racinet committed
13
    - unless @project.mercurial?
Georges Racinet's avatar
Georges Racinet committed
14
      = render 'shared/web_ide_button', blob: nil
15

16
17
18
    - if show_xcode_link?(@project)
      .project-action-button.project-xcode.inline<
        = render "projects/buttons/xcode_link"
19

20
    = render 'projects/buttons/download', project: @project, ref: @ref
21

22
23
    .project-clone-holder.d-none.d-md-inline-block>
      = render "projects/buttons/clone", dropdown_class: 'dropdown-menu-right'
24

25
26
  .project-clone-holder.d-block.d-md-none.mt-sm-2.mt-md-0.ml-sm-2>
    = render "shared/mobile_clone_panel"