show.html.haml 892 字节
Newer Older
1 2
= content_for :meta_tags do
  - if current_user
3
    = 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")
4

D
Dmitriy Zaporozhets 已提交
5
= render "head"
G
gitlabhq 已提交
6

D
Dmitriy Zaporozhets 已提交
7 8 9 10 11
.tree-ref-holder
  = render 'shared/ref_switcher', destination: 'commits'

- if current_user && current_user.private_token
  .commits-feed-holder.hidden-xs.hidden-sm
V
Vinnie Okada 已提交
12
    = link_to namespace_project_commits_path(@project.namespace, @project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Feed", class: 'btn' do
S
Sullivan SENECHAL 已提交
13
      %i.fa.fa-rss
D
Dmitriy Zaporozhets 已提交
14 15 16 17
      Commits feed

%ul.breadcrumb.repo-breadcrumb
  = commits_breadcrumbs
G
gitlabhq 已提交
18

19
%div{id: dom_id(@project)}
20
  #commits-list= render "commits", project: @project
D
Dmitriy Zaporozhets 已提交
21
.clear
22
= spinner
D
Dmitriy Zaporozhets 已提交
23

24 25
- if @commits.count == @limit
  :javascript
26
    CommitsList.init("#{@ref}", #{@limit});
27