mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 16:46:06 +10:00
29 lines
673 B
Plaintext
29 lines
673 B
Plaintext
- last_commit = project.last_commit
|
|
%tr.alert{class: commit_status_alert_class(last_commit) }
|
|
%td
|
|
= project.id
|
|
%td
|
|
= link_to [:ci, 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.fa-globe
|
|
Public
|
|
- else
|
|
%i.fa.fa-lock
|
|
Private
|
|
%td
|
|
= project.commits.count
|
|
%td
|
|
= link_to [:ci, :admin, project], method: :delete, class: 'btn btn-danger btn-sm' do
|
|
%i.fa.fa-remove
|
|
Remove
|