summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/_with_tabs.html.haml
diff options
context:
space:
mode:
authorChristiaan Van den Poel <christiaan.vandenpoel@gmail.com>2017-12-18 09:13:46 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-12-18 09:13:46 +0000
commit7edbc0f8c8aa53a385353740ea6767bc48df4def (patch)
tree4f99a696398283dac232a9d35e315eddba4bc69e /app/views/projects/pipelines/_with_tabs.html.haml
parentcfb8d001eb105433b52c77f212774d22e2e8bb87 (diff)
downloadgitlab-ce-7edbc0f8c8aa53a385353740ea6767bc48df4def.tar.gz
Fix job count in pipeline success mail
Diffstat (limited to 'app/views/projects/pipelines/_with_tabs.html.haml')
-rw-r--r--app/views/projects/pipelines/_with_tabs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml
index ad61f033a1c..398a1c46746 100644
--- a/app/views/projects/pipelines/_with_tabs.html.haml
+++ b/app/views/projects/pipelines/_with_tabs.html.haml
@@ -8,7 +8,7 @@
%li.js-builds-tab-link
= link_to builds_project_pipeline_path(@project, @pipeline), data: {target: 'div#js-tab-builds', action: 'builds', toggle: 'tab' }, class: 'builds-tab' do
Jobs
- %span.badge.js-builds-counter= pipeline.statuses.count
+ %span.badge.js-builds-counter= pipeline.total_size
- if failed_builds.present?
%li.js-failures-tab-link
= link_to failures_project_pipeline_path(@project, @pipeline), data: {target: 'div#js-tab-failures', action: 'failures', toggle: 'tab' }, class: 'failures-tab' do