summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-19 10:17:51 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-19 10:17:51 -0700
commit01c5ecedd405fed29dbae11039ecb1a90f170c28 (patch)
tree6e7371a6820b9b0b59f2bd4bf989596b7914c7ee /app/views/layouts/notify.html.haml
parent6b31827a41b3a057569d8476f9e8d5a22980cc16 (diff)
downloadgitlab-ce-01c5ecedd405fed29dbae11039ecb1a90f170c28.tar.gz
Add "Reply to this email directly" to notification footer.
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index c8662a15adb..ec209c38eed 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -36,7 +36,11 @@
&mdash;
%br
- if @target_url
- #{link_to "View it on GitLab", @target_url}
+ - if @reply_by_email
+ Reply to this email directly or
+ #{link_to "view it on GitLab", @target_url}.
+ - else
+ #{link_to "View it on GitLab", @target_url}
= email_action @target_url
- if @project && !@disable_footer
You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, namespace_project_url(@project.namespace, @project)} project team.