Patch #7647

Adding a hook in the heading on showing an issue

Added by Yuki Sonoda about 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2011-02-18
Priority:NormalDue 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 Magnifier (673 Bytes) Yuki Sonoda, 2011-02-18 05:55

Associated revisions

Revision 5447
Added by Jean-Philippe Lang almost 9 years ago

Adds a helper for issue heading (#7647).

History

#1 Updated by Jean-Baptiste Barth about 9 years 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 about 9 years ago

It sounds good.

#3 Updated by Jean-Philippe Lang almost 9 years 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