プロジェクト

全般

プロフィール

Vote #63058

完了

Allow issue note edit (incl patch)

Admin Redmine さんが約4年前に追加. 約4年前に更新.

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

0%

予定工数:
category_id:
2
version_id:
1
issue_org_id:
1070
author_id:
674
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

If someone messes up the wiki-text of an issue comment, there's no way to edit the comment. The patch adds capability to add (and preview) notes in an issue. The 'Edit' link appears on the right next to the note anchor if either of the following are true:

  • user has delete permission for issues
  • user is original author of individual comment

Edit form appear inline, along with Preview and Cancel links.

Patch is against 0.6.4 and includes possibly some cruft regarding note preview that may not be necessary when applying to 0.7 code. Please examine patch and apply native intelligence.

Also, the patch tries to abstract the note editing stuff into the partial _note_form.rhtml, which is referenced in _history.rhtml. Unfortunately, I couldn't work out how it could be used in show.rhtml. show.rhtml seems to operate on @issue, while _note_form.rhtml expects @journal entries.


journals

I'm afraid this feature is already implemented in 0.7. See r1105 and r1152.
This is also mentioned in the [[Changelog]]:

Permissions to edit issue notes

A specific permission was added. But preview is missing, I'll try to add it.
--------------------------------------------------------------------------------

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

Admin Redmine さんが約4年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン0.7_1 にセット

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

いいね!0
いいね!0