diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-09-30 11:28:43 +0200 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-09-30 11:28:43 +0200 |
commit | 75eacf4d4469fb533f60f573733d47a42d3ad7e0 (patch) | |
tree | 6f4e65a623da1fd83ccbd85b6116c47892a5c2c1 /app/views/notify/repository_push_email.text.haml | |
parent | c20c2c83859bf7ba699c085a1baf0ee1f1a6da7a (diff) | |
download | gitlab-ce-75eacf4d4469fb533f60f573733d47a42d3ad7e0.tar.gz |
Update email templates for email on push service with links to commit and repository.
Diffstat (limited to 'app/views/notify/repository_push_email.text.haml')
-rw-r--r-- | app/views/notify/repository_push_email.text.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/repository_push_email.text.haml b/app/views/notify/repository_push_email.text.haml index 4d7c972a16a..6f5f9eda2c5 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 #{@project.name_with_namespace} +#{@author.name} pushed to #{@branch} at #{link_to @project.name_with_namespace, project_url(@project)} \ Commits: - @commits.each do |commit| - #{commit.short_id} by #{commit.author_name} + #{link_to commit.short_id, project_commit_url(@project, commit)} by #{commit.author_name} #{commit.safe_message} \- - - - - \ |