summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-25 14:32:55 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 14:32:55 +0100
commitae70a80fc202822a485cabf78da9774d14055617 (patch)
tree67ff951966f3651279c251a783d320e6081c5288 /app/views/notify
parent85af3e82bfe0ebd01e816ee7c5ee6a2c28ce8ff9 (diff)
downloadgitlab-ce-ae70a80fc202822a485cabf78da9774d14055617.tar.gz
Fix links in EmailsOnPush text version.
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/repository_push_email.text.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/notify/repository_push_email.text.haml b/app/views/notify/repository_push_email.text.haml
index b081121c53a..7cb2814a492 100644
--- a/app/views/notify/repository_push_email.text.haml
+++ b/app/views/notify/repository_push_email.text.haml
@@ -1,9 +1,9 @@
-#{@author.name} pushed to #{@branch} at #{link_to @project.name_with_namespace, namespace_project_url(@project.namespace, @project)}
+#{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
\
Commits:
- @commits.each do |commit|
- #{link_to commit.short_id, namespace_project_commit_url(@project.namespace, @project, commit)} by #{commit.author_name}
+ #{commit.short_id} by #{commit.author_name}
#{commit.safe_message}
\- - - - -
\
@@ -38,3 +38,6 @@ Commits:
\
\
Huge diff. To prevent performance issues it was hidden
+\
+\
+View it on GitLab: #{@target_url}