show.html.haml 796 Bytes
Newer Older
1
- page_title @path.presence || "Files", @ref
2
- header_title project_title(@project, "Files", project_files_path(@project))
3 4
= content_for :meta_tags do
  - if current_user
5
    = 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")
6 7 8

= render 'projects/last_push'

9
- if can? current_user, :download_code, @project
10
  .tree-download-holder
11
    = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group pull-right hidden-xs hidden-sm', split_button: true
12 13

#tree-holder.tree-holder.clearfix
14 15 16 17
  .gray-content-block.top-block
    = render 'projects/tree/tree_header', tree: @tree

  = render 'projects/tree/tree_content', tree: @tree