Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
59f0d91a
Commit
59f0d91a
authored
May 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefix EmailsOnPush email subject with `[Git]`.
parent
84cb0dcb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGELOG
CHANGELOG
+1
-0
app/mailers/emails/projects.rb
app/mailers/emails/projects.rb
+2
-1
No files found.
CHANGELOG
View file @
59f0d91a
...
@@ -7,6 +7,7 @@ v 7.12.0 (unreleased)
...
@@ -7,6 +7,7 @@ v 7.12.0 (unreleased)
- Update Asciidoctor gem to version 1.5.2. (Jakub Jirutka)
- Update Asciidoctor gem to version 1.5.2. (Jakub Jirutka)
- Fix resolving of relative links to repository files in AsciiDoc documents. (Jakub Jirutka)
- Fix resolving of relative links to repository files in AsciiDoc documents. (Jakub Jirutka)
- Use the user list from the target project in a merge request (Stan Hu)
- Use the user list from the target project in a merge request (Stan Hu)
- Prefix EmailsOnPush email subject with `[Git]`.
v 7.11.2
v 7.11.2
- no changes
- no changes
...
...
app/mailers/emails/projects.rb
View file @
59f0d91a
...
@@ -93,7 +93,8 @@ module Emails
...
@@ -93,7 +93,8 @@ module Emails
"pushed to"
"pushed to"
end
end
@subject
=
"[
#{
@project
.
path_with_namespace
}
]"
@subject
=
"[Git]"
@subject
<<
"[
#{
@project
.
path_with_namespace
}
]"
@subject
<<
"[
#{
@ref_name
}
]"
if
action
==
:push
@subject
<<
"[
#{
@ref_name
}
]"
if
action
==
:push
@subject
<<
" "
@subject
<<
" "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment