diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-26 16:39:52 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-26 16:39:52 +0800 |
commit | 8de8506d44de76af4f00ca50283ff46d005a00ab (patch) | |
tree | eb60bdd8d97c67b3cdcfb7031f3e52387f2223ef /app/views/notify | |
parent | d245f980174f6a3ab5d658e7c2c040284c234f28 (diff) | |
download | gitlab-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.haml | 2 |
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. |