show.html.haml 825 Bytes
Newer Older
Annabel Dunstone's avatar
Annabel Dunstone committed
1 2
- @no_container = true

3
- page_title @path.presence || "Files", @ref
4 5
= content_for :meta_tags do
  - if current_user
6
    = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")
7
= render 'projects/last_push'
8
= render "projects/commits/head"
9

Annabel Dunstone's avatar
Annabel Dunstone committed
10 11 12 13 14
%div{ class: (container_class) }
  .tree-controls
    = render 'projects/find_file_link'
    - if can? current_user, :download_code, @project
      = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped', split_button: true
15

Annabel Dunstone's avatar
Annabel Dunstone committed
16 17 18
  #tree-holder.tree-holder.clearfix
    .nav-block
      = render 'projects/tree/tree_header', tree: @tree
19

Annabel Dunstone's avatar
Annabel Dunstone committed
20
    = render 'projects/tree/tree_content', tree: @tree