https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-02-09T23:41:42ZRedmineRedmine - Patch #2685: Display notice when commenting on closed ticketshttps://www.redmine.org/issues/2685?journal_id=72202009-02-09T23:41:42ZBrad Beattie
<ul></ul><p>Hrm. Might be better if it was more in line with the warning Redmine.org gives at the moment, using class "nodata" and showing when the user might instead of after they do.</p>
<pre>
Index: app/views/issues/_edit.rhtml
===================================================================
--- app/views/issues/_edit.rhtml (revision 2361)
+++ app/views/issues/_edit.rhtml (working copy)
@@ -31,12 +31,17 @@
<% end %>
</fieldset>
<% end %>
-
+
<fieldset><legend><%= l(:field_notes) %></legend>
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
<%= wikitoolbar_for 'notes' %>
<%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %>
-
+ <% if @issue.closed? %>
+ <div class="nodata">
+ <%= l(:warning_notes_on_closed_issue) %>
+ </div>
+ <% end %>
+
<p><%=l(:label_attachment_plural)%><br /><%= render :partial => 'attachments/form' %></p>
</fieldset>
</div>
Index: lang/en.yml
===================================================================
--- lang/en.yml (revision 2361)
+++ lang/en.yml (working copy)
@@ -86,6 +86,7 @@
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:'
</pre> Redmine - Patch #2685: Display notice when commenting on closed ticketshttps://www.redmine.org/issues/2685?journal_id=74432009-02-19T16:20:20ZBrad Beattie
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li></ul> Redmine - Patch #2685: Display notice when commenting on closed ticketshttps://www.redmine.org/issues/2685?journal_id=89712009-05-05T00:41:14ZEric Davis
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>7</i></li><li><strong>Assignee</strong> changed from <i>Jean-Philippe Lang</i> to <i>Eric Davis</i></li></ul><p>I can take this, I'll have to update the patch (pre Rails 2.2.2 i18n) but it shouldn't be too much.</p> Redmine - Patch #2685: Display notice when commenting on closed ticketshttps://www.redmine.org/issues/2685?journal_id=217522010-10-25T15:02:26ZEric Davis
<ul><li><strong>Assignee</strong> deleted (<del><i>Eric Davis</i></del>)</li></ul> Redmine - Patch #2685: Display notice when commenting on closed ticketshttps://www.redmine.org/issues/2685?journal_id=442302013-01-13T20:04:16ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>7</i> to <i>New</i></li></ul><p>Assigned issue with no assignee back to New status.</p>