_project.html.haml 497 字节
Newer Older
D
Dmitriy Zaporozhets 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
- last_commit = project.last_commit
%tr
  %td
    = link_to [:ci, project] do
      = project.name
  %td
    - if last_commit
      = ci_status_with_icon(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
      %i.fa.fa-globe
      Public
    - else
      %i.fa.fa-lock
      Private
  %td
    = project.commits.count