summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-26 16:39:52 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-26 16:39:52 +0800
commit8de8506d44de76af4f00ca50283ff46d005a00ab (patch)
treeeb60bdd8d97c67b3cdcfb7031f3e52387f2223ef /app/views/notify
parentd245f980174f6a3ab5d658e7c2c040284c234f28 (diff)
downloadgitlab-ce-8de8506d44de76af4f00ca50283ff46d005a00ab.tar.gz
Use string interpolation if possible (better performance)
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/pipeline_failed_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/pipeline_failed_email.html.haml b/app/views/notify/pipeline_failed_email.html.haml
index d238353ed5d..3a85d4831f8 100644
--- a/app/views/notify/pipeline_failed_email.html.haml
+++ b/app/views/notify/pipeline_failed_email.html.haml
@@ -138,7 +138,7 @@
had
= failed.size
failed
- = 'build'.pluralize(failed.size) + '.'
+ = "#{'build'.pluralize(failed.size)}."
%tr.warning
%td{:style => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;border:1px solid #ededed;border-bottom:0;border-radius:3px 3px 0 0;overflow:hidden;background-color:#fdf4f6;color:#d22852;font-size:14px;line-height:1.4;text-align:center;padding:8px 15px;"}
Logs may contain sensitive data. Please consider before forwarding this email.