summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-20 08:10:15 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-28 09:00:30 -0500
commit3f979481a1592d274e3b032ce74070f30645a184 (patch)
tree48c37b0aa342d88fdf2e34bf652fdc4012d8be03
parent240b35b130e9391714088c52260e66cb4bfd165e (diff)
downloadgitlab-ce-3f979481a1592d274e3b032ce74070f30645a184.tar.gz
Display last pipeline info
-rw-r--r--app/assets/stylesheets/pages/login.scss1
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/login.scss b/app/assets/stylesheets/pages/login.scss
index 3d2b024fe5c..a2f5c6c6bd3 100644
--- a/app/assets/stylesheets/pages/login.scss
+++ b/app/assets/stylesheets/pages/login.scss
@@ -54,7 +54,6 @@
margin: 0 0 10px;
}
-
.login-footer {
margin-top: 10px;
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 351ab4148f5..d8c95376b94 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -70,7 +70,7 @@
.icon-container
= ci_icon_for_status(@commit.status)
Pipeline
- = link_to "##{@commit.pipelines.first.id}", pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "monospace"
+ = link_to "##{@commit.pipelines.last.id}", pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "monospace"
for
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
%span.ci-status-label