summaryrefslogtreecommitdiff
path: root/app/views/ci/admin/projects/_project.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/admin/projects/_project.html.haml')
-rw-r--r--app/views/ci/admin/projects/_project.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/ci/admin/projects/_project.html.haml b/app/views/ci/admin/projects/_project.html.haml
index 8017fb2086b..c461206c72a 100644
--- a/app/views/ci/admin/projects/_project.html.haml
+++ b/app/views/ci/admin/projects/_project.html.haml
@@ -1,5 +1,5 @@
- last_commit = project.last_commit
-%tr{class: commit_status_css_class(last_commit) }
+%tr
%td
= project.id
%td
@@ -7,8 +7,9 @@
%strong= project.name
%td
- if last_commit
- #{last_commit.status} (#{commit_link(last_commit)})
+ = ci_status_with_icon(last_commit.status)
- if project.last_commit_date
+ ·
= time_ago_in_words project.last_commit_date
ago
- else