summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/_info.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/_info.html.haml
parentcfb8d001eb105433b52c77f212774d22e2e8bb87 (diff)
downloadgitlab-ce-7edbc0f8c8aa53a385353740ea6767bc48df4def.tar.gz
Fix job count in pipeline success mail
Diffstat (limited to 'app/views/projects/pipelines/_info.html.haml')
-rw-r--r--app/views/projects/pipelines/_info.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml
index f5149306734..01ea9356af5 100644
--- a/app/views/projects/pipelines/_info.html.haml
+++ b/app/views/projects/pipelines/_info.html.haml
@@ -13,7 +13,7 @@
.well-segment.pipeline-info
.icon-container
= icon('clock-o')
- = pluralize @pipeline.statuses.count(:id), "job"
+ = pluralize @pipeline.total_size, "job"
- if @pipeline.ref
from
= link_to @pipeline.ref, project_ref_path(@project, @pipeline.ref), class: "ref-name"