Patch #2685 ยป warning.patch
| app/controllers/issues_controller.rb (working copy) | ||
|---|---|---|
|
if !journal.new_record?
|
||
|
# Only send notification if something was actually changed
|
||
|
flash[:notice] = l(:notice_successful_update)
|
||
|
flash[:warning] = l(:warning_notes_on_closed_issue) if (@issue.closed? && !@notes.empty?)
|
||
|
Mailer.deliver_issue_edit(journal) if Setting.notified_events.include?('issue_updated')
|
||
|
end
|
||
|
call_hook(:controller_issues_edit_after_save, { :params => params, :issue => @issue, :time_entry => @time_entry, :journal => journal})
|
||
| lang/en.yml (working copy) | ||
|---|---|---|
|
error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
|
||
|
warning_attachments_not_saved: "%d file(s) could not be saved."
|
||
|
warning_notes_on_closed_issue: "Notes on closed tickets may go unnoticed even if they are assigned to an individual."
|
||
|
mail_subject_lost_password: Your %s password
|
||
|
mail_body_lost_password: 'To change your password, click on the following link:'
|
||