summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-01-13 11:07:21 -0500
committerKushal Pandya <kushal@gitlab.com>2017-01-24 10:09:28 -0800
commitfa21471af626d1bfdb738e1a77e0d5b7fc3d85a3 (patch)
tree72d74b32f268127f5ce79f68bfe693e1e75b8bee /app/views/notify
parenteeb68676331afeca4208084d0dcec81bc5e9472c (diff)
downloadgitlab-ce-fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3.tar.gz
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/_reassigned_issuable_email.html.haml4
-rw-r--r--app/views/notify/repository_push_email.html.haml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/notify/_reassigned_issuable_email.html.haml b/app/views/notify/_reassigned_issuable_email.html.haml
index 56d81b2ed2e..fd35713f79c 100644
--- a/app/views/notify/_reassigned_issuable_email.html.haml
+++ b/app/views/notify/_reassigned_issuable_email.html.haml
@@ -2,9 +2,9 @@
Assignee changed
- if @previous_assignee
from
- %strong #{@previous_assignee.name}
+ %strong= @previous_assignee.name
to
- if issuable.assignee_id
- %strong #{issuable.assignee_name}
+ %strong= issuable.assignee_name
- else
%strong Unassigned
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml
index 36858fa6f34..c6b1db17f91 100644
--- a/app/views/notify/repository_push_email.html.haml
+++ b/app/views/notify/repository_push_email.html.haml
@@ -17,7 +17,7 @@
%ul
- @message.commits.each do |commit|
%li
- %strong #{link_to(commit.short_id, namespace_project_commit_url(@message.project_namespace, @message.project, commit))}
+ %strong= link_to(commit.short_id, namespace_project_commit_url(@message.project_namespace, @message.project, commit))
%div
%span by #{commit.author_name}
%i at #{commit.committed_date.to_s(:iso8601)}