How setup what send in email notification
Added by GoRun M over 8 years ago
I need to send in the mail body - start date:
example:
- Author: User
- Status: New
- Priority: Normal
- Assignee:
- Category: Email notifications
- Target version:
- Start Date
how?
Replies (1)
RE: How setup what send in email notification
-
Added by Robert Schneider over 8 years ago
If you want to modify the installed source code (then you have to take care if you'd like to update Redmine):
I think the place where you can specify the rendered attributes is in file app/helpers/issues_helper.rb
in line 238 (see http://www.rubydoc.info/github/redmine/redmine/IssuesHelper#email_issue_attributes-instance_method). There is the line
%w(author status priority assigned_to category fixed_version).each do |attribute|
I guess you could add other fields in this collection. But I don't know what the name of the start date is. Probably start_date
.