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
fd4a0820
Commit
fd4a0820
authored
Apr 17, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make issue due email more consistent with other mailers
parent
86bf99a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/notify/issue_due_email.html.haml
app/views/notify/issue_due_email.html.haml
+3
-5
spec/services/notification_service_spec.rb
spec/services/notification_service_spec.rb
+2
-0
No files found.
app/views/notify/issue_due_email.html.haml
View file @
fd4a0820
-
if
Gitlab
::
CurrentSettings
.
email_author_in_body
%p
.details
#{
link_to
@issue
.
author_name
,
user_url
(
@issue
.
author
)
}
's issue is due soon.
%p
.details
#{
link_to
@issue
.
author_name
,
user_url
(
@issue
.
author
)
}
's issue is due soon.
-
if
@issue
.
assignees
.
any?
%p
Assignee:
#{
@issue
.
assignee_list
}
%p
This issue is due on:
#{
@issue
.
due_date
}
This issue is due on:
#{
@issue
.
due_date
.
to_s
(
:medium
)
}
-
if
@issue
.
description
%div
...
...
spec/services/notification_service_spec.rb
View file @
fd4a0820
...
...
@@ -936,6 +936,8 @@ describe NotificationService, :mailer do
describe
'#issue_due'
do
before
do
issue
.
update!
(
due_date:
Date
.
today
)
update_custom_notification
(
:issue_due
,
@u_guest_custom
,
resource:
project
)
update_custom_notification
(
:issue_due
,
@u_custom_global
)
end
...
...
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