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
428a67fe
Commit
428a67fe
authored
Jan 16, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use approved_by and unapproved_by in email templates.
parent
a87d4e8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
app/views/notify/approved_merge_request_email.html.haml
app/views/notify/approved_merge_request_email.html.haml
+3
-3
app/views/notify/unapproved_merge_request_email.html.haml
app/views/notify/unapproved_merge_request_email.html.haml
+3
-3
No files found.
app/views/notify/approved_merge_request_email.html.haml
View file @
428a67fe
...
...
@@ -78,9 +78,9 @@
%span
{
style:
"font-weight: bold;color:#333333;"
}
Merge request
%a
{
href:
merge_request_url
(
@merge_request
),
style:
"font-weight: bold;color:#3777b0;text-decoration:none"
}
#{
@merge_request
.
to_reference
}
%span
was approved by
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
@
merge_request
.
assignee
,
24
),
style:
"border-radius:12px;margin:-7px 0 -7px 3px;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%a
.muted
{
href:
user_url
(
@
merge_request
.
assignee
),
style:
"color:#333333;text-decoration:none;"
}
=
@
merge_request
.
assignee
.
name
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
@
approved_by
,
24
),
style:
"border-radius:12px;margin:-7px 0 -7px 3px;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%a
.muted
{
href:
user_url
(
@
approved_by
),
style:
"color:#333333;text-decoration:none;"
}
=
@
approved_by
.
name
%tr
.spacer
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"
}
...
...
app/views/notify/unapproved_merge_request_email.html.haml
View file @
428a67fe
...
...
@@ -78,9 +78,9 @@
%span
{
style:
"font-weight: bold;color:#333333;"
}
Merge request
%a
{
href:
merge_request_url
(
@merge_request
),
style:
"font-weight: bold;color:#3777b0;text-decoration:none"
}
#{
@merge_request
.
to_reference
}
%span
was unapproved by
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
@
merge_request
.
assignee
,
24
),
style:
"border-radius:12px;margin:-7px 0 -7px 3px;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%a
.muted
{
href:
user_url
(
@
merge_request
.
assignee
),
style:
"color:#333333;text-decoration:none;"
}
=
@
merge_request
.
assignee
.
name
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
@
unapproved_by
,
24
),
style:
"border-radius:12px;margin:-7px 0 -7px 3px;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%a
.muted
{
href:
user_url
(
@
unapproved_by
),
style:
"color:#333333;text-decoration:none;"
}
=
@
unapproved_by
.
name
%tr
.spacer
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"
}
...
...
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