Commit 8b362fbf authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'email_on_push_template_changes' into 'master'

Email on push template changes

Fixes #1304

See merge request !1136
parents 2b88c9cd 75eacf4d
%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}
......
#{@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}
\- - - - - \- - - - -
\ \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment