summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@gitlab.com>2015-01-14 21:12:16 -0800
committerSytse Sijbrandij <sytse@gitlab.com>2015-01-14 21:12:16 -0800
commitf8b97b454b8eae343bd7ea6e92fd2257eeae45b0 (patch)
tree38ce651c4ce2da7517c40aaed3a226378941669d /app/views/layouts/notify.html.haml
parent2c053c93b2ab6f4a42822a8db537e228463e8129 (diff)
downloadgitlab-ce-f8b97b454b8eae343bd7ea6e92fd2257eeae45b0.tar.gz
Make view link come first so I don't have to mouse to the end of the email line.
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index da451961327..e81cf9e5bf6 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -24,8 +24,8 @@
%p
\—
%br
- - if @project
- You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, project_url(@project)} project team.
- if @target_url
#{link_to "View it on GitLab", @target_url}
= email_action @target_url
+ - if @project
+ You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, project_url(@project)} project team.