Patch #7647

Adding a hook in the heading on showing an issue

Added by Yuki Sonoda over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2011-02-18
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Plugin API
Target version:-

Description

The heading (h2) in /issue/show is a good place to show something related with the identity of the issue, as http://redmine.ruby-lang.org/issues/show/1.

Could you add an hook point here? I would like to use the hook for the MailingListIntegration plugin which I am developing. I think it is useful for integrating redmine with an external system which posts an issue.

new-view-hook-in-heading-of-issue.patch (673 Bytes) Magnifier Yuki Sonoda, 2011-02-18 05:55

Associated revisions

Revision 5447
Added by Jean-Philippe Lang about 1 year ago

Adds a helper for issue heading (#7647).

History

#1 Updated by Jean-Baptiste Barth over 1 year ago

I'd prefer putting this heading in a helper you could override, it would be much more flexible. What do you think ? Any opinion about this ?

#2 Updated by Yuki Sonoda over 1 year ago

It sounds good.

#3 Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from New to Closed

Jean-Baptiste's solution committed in r5447. IssueHelper#issue_heading is now used and can be overriden.

Also available in: Atom PDF