summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-20 17:44:13 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 13:13:46 +0100
commit6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f (patch)
tree7f57e5bb0636012bd29e31873f074046231ba043 /app/views/layouts/notify.html.haml
parent607f0c05feb2cde82493a36ac43ba5ecd6c71620 (diff)
downloadgitlab-ce-6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f.tar.gz
Remove incorrect footer from EmailsOnPush body.
See #1754.
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 8cca80e5248..eb5da470160 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -27,5 +27,5 @@
- if @target_url
#{link_to "View it on GitLab", @target_url}
= email_action @target_url
- - if @project
+ - 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.