2015-09-11 14:41:01 +05:30
|
|
|
- page_title @path.presence || "Files", @ref
|
2015-09-25 12:07:36 +05:30
|
|
|
- header_title project_title(@project, "Files", project_files_path(@project))
|
2015-09-11 14:41:01 +05:30
|
|
|
= 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'
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if can? current_user, :download_code, @project
|
|
|
|
.tree-download-holder
|
2015-09-11 14:41:01 +05:30
|
|
|
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group pull-right hidden-xs hidden-sm', split_button: true
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
#tree-holder.tree-holder.clearfix
|
2015-11-26 14:37:03 +05:30
|
|
|
.gray-content-block.top-block
|
|
|
|
= render 'projects/tree/tree_header', tree: @tree
|
|
|
|
|
|
|
|
= render 'projects/tree/tree_content', tree: @tree
|