074efd8fd5
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
20 lines
497 B
Text
20 lines
497 B
Text
#{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
|
|
|
|
\
|
|
Commits:
|
|
- @commits.each do |commit|
|
|
#{commit.short_id} - #{truncate(commit.title, length: 40)}
|
|
\
|
|
\
|
|
Diff:
|
|
- @diffs.each do |diff|
|
|
\
|
|
\=====================================
|
|
- if diff.old_path == diff.new_path
|
|
= diff.new_path
|
|
- elsif diff.new_path && diff.old_path
|
|
#{diff.old_path} → #{diff.new_path}
|
|
- else
|
|
= diff.new_path || diff.old_path
|
|
\=====================================
|
|
= diff.diff
|