From 75eacf4d4469fb533f60f573733d47a42d3ad7e0 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 30 Sep 2014 11:28:43 +0200 Subject: Update email templates for email on push service with links to commit and repository. --- app/views/notify/repository_push_email.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/notify/repository_push_email.html.haml') diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml index 0358810afdc..3cf50bf0826 100644 --- a/app/views/notify/repository_push_email.html.haml +++ b/app/views/notify/repository_push_email.html.haml @@ -1,11 +1,11 @@ -%h3 #{@author.name} pushed to #{@branch} at #{@project.name_with_namespace} +%h3 #{@author.name} pushed to #{@branch} at #{link_to @project.name_with_namespace, project_url(@project)} %h4 Commits: %ul - @commits.each do |commit| %li - %strong #{commit.short_id} + %strong #{link_to commit.short_id, project_commit_url(@project, commit)} %span by #{commit.author_name} %pre #{commit.safe_message} -- cgit v1.2.1