show.html.haml 633 字节
Newer Older
1 2 3 4
= 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: "Recent commits to #{@project.name}:#{@ref}")
  
5
.tree-ref-holder
6
  = render 'shared/ref_switcher', destination: 'tree', path: @path
7

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

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