BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
487f78be
Commit
487f78be
authored
Sep 04, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7677 from cirosantilli/factor-issue-mr-text-email
Fix missing to on reassign Merge Request text email to unassigned.
parents
bd002333
c5861928
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
_reassigned_issuable_email.text.erb
app/views/notify/_reassigned_issuable_email.text.erb
+6
-0
reassigned_issue_email.text.erb
app/views/notify/reassigned_issue_email.text.erb
+1
-5
reassigned_merge_request_email.text.erb
app/views/notify/reassigned_merge_request_email.text.erb
+1
-7
No files found.
app/views/notify/_reassigned_issuable_email.text.erb
0 → 100644
View file @
487f78be
Reassigned
<%=
issuable
.
class
.
model_name
.
human
.
titleize
%>
<%=
issuable
.
iid
%>
<%=
url_for
([
issuable
.
project
,
issuable
,
{
only_path:
false
}])
%>
Assignee changed
<%=
"from
#{
@previous_assignee
.
name
}
"
if
@previous_assignee
-%>
to
<%=
"
#{
issuable
.
assignee_id
?
issuable
.
assignee_name
:
'Unassigned'
}
"
%>
app/views/notify/reassigned_issue_email.text.erb
View file @
487f78be
Reassigned Issue
<%=
@issue
.
iid
%>
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
Assignee changed
<%=
"from
#{
@previous_assignee
.
name
}
"
if
@previous_assignee
%>
to
<%=
"
#{
@issue
.
assignee_id
?
@issue
.
assignee_name
:
'Unassigned'
}
"
%>
<%=
render
'reassigned_issuable_email'
,
issuable:
@issue
%>
app/views/notify/reassigned_merge_request_email.text.erb
View file @
487f78be
Reassigned Merge Request #
<%=
@merge_request
.
iid
%>
<%=
url_for
(
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
))
%>
Assignee changed
<%=
"from
#{
@previous_assignee
.
name
}
"
if
@previous_assignee
%>
to
<%=
@merge_request
.
assignee_name
%>
<%=
render
'reassigned_issuable_email'
,
issuable:
@merge_request
%>
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