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