Skip to content
Snippets Groups Projects
Commit 75eacf4d authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Update email templates for email on push service with links to commit and repository.

parent c20c2c83
No related branches found
No related tags found
No related merge requests found
%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: %h4 Commits:
   
%ul %ul
- @commits.each do |commit| - @commits.each do |commit|
%li %li
%strong #{commit.short_id} %strong #{link_to commit.short_id, project_commit_url(@project, commit)}
%span by #{commit.author_name} %span by #{commit.author_name}
%pre #{commit.safe_message} %pre #{commit.safe_message}
   
Loading
Loading
#{@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:
- @commits.each do |commit| - @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} #{commit.safe_message}
\- - - - - \- - - - -
\ \
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment