summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_ci_menu.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-08 13:03:28 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-08 13:10:33 +0100
commita17ba43bfd05cd49bab18d6c7f80226004870bc2 (patch)
treea3ef2f9d85ff3b3cbb4f345fd80344d6f28a7547 /app/views/projects/commit/_ci_menu.html.haml
parentf5430e48b42227f1c1874ca27c6907f0f704be28 (diff)
downloadgitlab-ce-a17ba43bfd05cd49bab18d6c7f80226004870bc2.tar.gz
Move commit builds to partial
Diffstat (limited to 'app/views/projects/commit/_ci_menu.html.haml')
-rw-r--r--app/views/projects/commit/_ci_menu.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_ci_menu.html.haml b/app/views/projects/commit/_ci_menu.html.haml
index 76dc87a8824..f74f8b427ec 100644
--- a/app/views/projects/commit/_ci_menu.html.haml
+++ b/app/views/projects/commit/_ci_menu.html.haml
@@ -6,4 +6,4 @@
= nav_link(path: 'commit#builds') do
= link_to builds_namespace_project_commit_path(@project.namespace, @project, @commit.id) do
Builds
- %span.badge= @builds.count(:id)
+ %span.badge= @statuses.count