プロジェクト

全般

プロフィール

Vote #64558

完了

Display notice on forum updates

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Forums_5
対象バージョン:
開始日:
2009/01/31
期日:
進捗率:

0%

予定工数:
category_id:
5
version_id:
145
issue_org_id:
2635
author_id:
2928
assigned_to_id:
332
comments:
5
status_id:
5
tracker_id:
3
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When posting a comment to a news item, the notice label_comment_added is displayed to the user. I figured that it was inconsistent not to do the same for forum comments, so I created the following patch.

### Eclipse Workspace Patch 1.0
#P Redmine
Index: lang/en.yml
===================================================================
--- lang/en.yml (revision 2344)
+++ lang/en.yml (working copy)
@@ -536,6 +536,7 @@
 label_message_new: New message
 label_message_posted: Message added
 label_reply_plural: Replies
+label_reply_added: Reply added
 label_send_information: Send account information to the user
 label_year: Year
 label_month: Month
Index: app/controllers/messages_controller.rb
===================================================================
--- app/controllers/messages_controller.rb  (revision 2338)
+++ app/controllers/messages_controller.rb  (working copy)
@@ -47,6 +47,7 @@
     end
     if request.post? && @message.save
       attach_files(@message, params[:attachments])
+      flash[:notice] = l(:label_message_posted)
       redirect_to :action => 'show', :id => @message
     end
   end
@@ -60,6 +61,7 @@
     if !@reply.new_record?
       attach_files(@reply, params[:attachments])
     end
+    flash[:notice] = l(:label_reply_added)
     redirect_to :action => 'show', :id => @topic
   end

journals

--------------------------------------------------------------------------------
+1
I think the notices will improve usability. The attached patch adds notices on create/update/delete operation on forum messages.
--------------------------------------------------------------------------------
Committed.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリForums_5 にセット
  • 対象バージョン4.0.1_145 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0