体验新版 GitCode,发现更多精彩内容 >>
- last_commit = project.last_commit %tr.alert{class: commit_status_alert_class(last_commit) } %td = link_to project do %strong= project.name %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 %i.fa-globe Public - else %i.fa-lock Private %td = project.commits.count