_project.html.haml 505 字节
Newer Older
D
Douwe Maan 已提交
1
- last_commit = project.last_commit
2
%tr{class: commit_status_css_class(last_commit) }
D
Douwe Maan 已提交
3
  %td
4
    = link_to [:ci, project] do
5
      = project.name
D
Douwe Maan 已提交
6 7 8 9 10 11 12 13 14 15
  %td
    - if last_commit
      #{last_commit.status} (#{commit_link(last_commit)})
      - if project.last_commit_date
        = time_ago_in_words project.last_commit_date
        ago
    - else
      No builds yet
  %td
    - if project.public
16
      %i.fa.fa-globe
D
Douwe Maan 已提交
17 18
      Public
    - else
19
      %i.fa.fa-lock
D
Douwe Maan 已提交
20 21 22
      Private
  %td
    = project.commits.count