debian-mirror-gitlab/app/views/notify/repository_push_email.text.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.7 KiB
Text
Raw Normal View History

2015-12-23 02:04:40 +05:30
#{@message.author_name} #{@message.action_name} #{@message.ref_type} #{@message.ref_name} at #{@message.project_name_with_namespace}
- if @message.compare
2014-09-02 18:07:02 +05:30
\
2015-04-26 12:48:37 +05:30
\
2015-12-23 02:04:40 +05:30
- if @message.reverse_compare?
2015-04-26 12:48:37 +05:30
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
\
\
2015-12-23 02:04:40 +05:30
= @message.reverse_compare? ? "Deleted commits:" : "Commits:"
- @message.commits.each do |commit|
#{commit.short_id} by #{commit.author_name} at #{commit.committed_date.to_s(:iso8601)}
2015-04-26 12:48:37 +05:30
#{commit.safe_message}
\- - - - -
\
\
2015-12-23 02:04:40 +05:30
#{pluralize @message.diffs_count, "changed file"}:
2015-04-26 12:48:37 +05:30
\
2017-09-10 17:25:29 +05:30
- @message.diffs.each do |diff_file|
- if diff_file.deleted_file?
\- #{diff_file.old_path}
- elsif diff_file.renamed_file?
\- #{diff_file.old_path} → #{diff_file.new_path}
- elsif diff_file.new_file?
\- + #{diff_file.new_path}
2015-04-26 12:48:37 +05:30
- else
2017-09-10 17:25:29 +05:30
\- #{diff_file.new_path}
2015-12-23 02:04:40 +05:30
- unless @message.disable_diffs?
2016-06-02 11:05:42 +05:30
- if @message.compare_timeout
2015-04-26 12:48:37 +05:30
\
2016-06-02 11:05:42 +05:30
\
The diff was not included because it is too large.
- else
\
\
Changes:
- @message.diffs.each do |diff_file|
\
\=====================================
2017-09-10 17:25:29 +05:30
- if diff_file.deleted_file?
2016-06-02 11:05:42 +05:30
#{diff_file.old_path} deleted
2017-09-10 17:25:29 +05:30
- elsif diff_file.renamed_file?
2016-06-02 11:05:42 +05:30
#{diff_file.old_path} → #{diff_file.new_path}
- else
= diff_file.new_path
\=====================================
- if diff_file.too_large?
The diff for this file was not included because it is too large.
- else
!= diff_file.diff.diff
2015-12-23 02:04:40 +05:30
- if @message.target_url
2015-04-26 12:48:37 +05:30
\
\
2015-12-23 02:04:40 +05:30
View it on GitLab: #{@message.target_url}