summaryrefslogtreecommitdiff
path: root/app/views/notify/pipeline_success_email.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-05 14:17:42 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-06 14:13:21 +0100
commitd865aedafc2282f898b4bd2fdfd3660c47203c37 (patch)
tree7d0767215b56c61e07380e5d2985e2f7ed72b077 /app/views/notify/pipeline_success_email.html.haml
parentfa1105b10b4f5dbce46bd72eb6374fe7f8d51f56 (diff)
downloadgitlab-ce-d865aedafc2282f898b4bd2fdfd3660c47203c37.tar.gz
Introduce `Ci::Stage`, right now this is artificial object that is build dynamically.
Diffstat (limited to 'app/views/notify/pipeline_success_email.html.haml')
-rw-r--r--app/views/notify/pipeline_success_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/pipeline_success_email.html.haml b/app/views/notify/pipeline_success_email.html.haml
index 697c8d19257..56c1949ab2b 100644
--- a/app/views/notify/pipeline_success_email.html.haml
+++ b/app/views/notify/pipeline_success_email.html.haml
@@ -133,7 +133,7 @@
%tr.success-message
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#333333;font-size:15px;font-weight:400;line-height:1.4;padding:15px 5px;text-align:center;"}
- build_count = @pipeline.statuses.latest.size
- - stage_count = @pipeline.stages.size
+ - stage_count = @pipeline.stages_count
Pipeline
%a{href: pipeline_url(@pipeline), style: "color:#3777b0;text-decoration:none;"}
= "\##{@pipeline.id}"