summaryrefslogtreecommitdiff
path: root/app/views/ci/projects/_project.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/projects/_project.html.haml')
-rw-r--r--app/views/ci/projects/_project.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/ci/projects/_project.html.haml b/app/views/ci/projects/_project.html.haml
index 29e9f023dda..844b6677b3d 100644
--- a/app/views/ci/projects/_project.html.haml
+++ b/app/views/ci/projects/_project.html.haml
@@ -1,14 +1,13 @@
- if project.gitlab_ci_project
- ci_project = project.gitlab_ci_project
- last_commit = ci_project.last_commit
- %tr{class: commit_status_css_class(last_commit) }
+ %tr
%td
= link_to [:ci, ci_project] do
= ci_project.name
%td
- if last_commit
- %span.ci-status<
- = last_commit.status
+ = ci_status_with_icon(last_commit.status)
= commit_link(last_commit)
&middot;
- if ci_project.last_commit_date