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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c0564401
Commit
c0564401
authored
May 28, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render Merge request reference as link
parent
4786fe61
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/notify/merged_merge_request_email.html.haml
app/views/notify/merged_merge_request_email.html.haml
+1
-1
app/views/notify/merged_merge_request_email.text.haml
app/views/notify/merged_merge_request_email.text.haml
+1
-1
changelogs/unreleased/cablett-merge-request-merged-email-ref.yml
...ogs/unreleased/cablett-merge-request-merged-email-ref.yml
+5
-0
No files found.
app/views/notify/merged_merge_request_email.html.haml
View file @
c0564401
%p
Merge Request
#{
@merge_request
.
to_reference
}
was merged
Merge Request
#{
link_to
@merge_request
.
to_reference
,
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
}
was merged
app/views/notify/merged_merge_request_email.text.haml
View file @
c0564401
Merge Request
#{
@merge_request
.
to_reference
}
was merged
Merge Request
url
:
#{
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
}
Merge Request
URL
:
#{
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
}
=
merge_path_description
(
@merge_request
,
'to'
)
...
...
changelogs/unreleased/cablett-merge-request-merged-email-ref.yml
0 → 100644
View file @
c0564401
---
title
:
Render Merge request reference as link
merge_request
:
33248
author
:
type
:
changed
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