summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-17 16:20:45 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-17 16:20:45 +0200
commit074efd8fd57736bcec25b2f08324b9d25aa886d5 (patch)
tree5f22a0a2e78ed917cbca5bca41ed1ebcb40f6782 /app/views/notify
parent8b89ef8639b2b6ee69d991fb0d6089f9437bbee2 (diff)
downloadgitlab-ce-074efd8fd57736bcec25b2f08324b9d25aa886d5.tar.gz
Email on push: dont send email if new branch was pushed or branch was removed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/repository_push_email.html.haml2
-rw-r--r--app/views/notify/repository_push_email.text.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml
index 48c3b3277bf..d0b30c08338 100644
--- a/app/views/notify/repository_push_email.html.haml
+++ b/app/views/notify/repository_push_email.html.haml
@@ -1,4 +1,4 @@
-%h3 New push to #{@branch} at #{@project.name_with_namespace}
+%h3 #{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
%h4 Commits:
diff --git a/app/views/notify/repository_push_email.text.haml b/app/views/notify/repository_push_email.text.haml
index 0da5b9513ee..6718ca68359 100644
--- a/app/views/notify/repository_push_email.text.haml
+++ b/app/views/notify/repository_push_email.text.haml
@@ -1,4 +1,4 @@
-New push to #{@branch} at #{@project.name_with_namespace}
+#{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
\
Commits: