summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
blob: dec4677f83031be6a8d958761139271a1a6cc417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- page_title @path.presence || "Files", @ref
- header_title project_title(@project, "Files", project_files_path(@project))
= content_for :meta_tags do
  - if current_user
    = 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")

= render 'projects/last_push'

.tree-ref-holder
  = render 'shared/ref_switcher', destination: 'tree', path: @path

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

#tree-holder.tree-holder.clearfix
  = render "tree", tree: @tree