summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-26 16:39:24 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-26 16:39:24 +0800
commitd245f980174f6a3ab5d658e7c2c040284c234f28 (patch)
tree20d5fbc75214988051a9bc7cfa156c32b26b2348 /app/views/notify
parentfd2ce241497eac5ddb1f7e303109211ddbeec9db (diff)
downloadgitlab-ce-d245f980174f6a3ab5d658e7c2c040284c234f28.tar.gz
We already checked commit.author is not nil, so it must be there
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 da28b4c30cd..d238353ed5d 100644
--- a/app/views/notify/pipeline_failed_email.html.haml
+++ b/app/views/notify/pipeline_failed_email.html.haml
@@ -125,7 +125,7 @@
= commit.author_name
- else
%a.muted{:href => user_url(commit.author), :style => "color:#333333;text-decoration:none;"}
- = commit.author.try(:name) || commit.author_name
+ = commit.author.name
%tr.spacer
%td{:style => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"}
&nbsp;