gitlab-org--gitlab-foss/app/views/notify/repository_push_email.html....

29 lines
663 B
Plaintext
Raw Normal View History

%h3 #{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
%h4 Commits:
%ul
- @commits.each do |commit|
%li
#{commit.short_id} - #{commit.title}
2014-03-26 12:51:28 +00:00
%h4 Changes:
- @diffs.each do |diff|
%li
%strong
- 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
%hr
%pre
= diff.diff
%br
- if @compare.timeout
2014-03-26 12:51:28 +00:00
%h5 To prevent performance issues changes are hidden
- elsif @compare.commits_over_limit?
2014-03-26 12:51:28 +00:00
%h5 Changes are not shown due to large amount of commits