Feature #17380

Move project sidebar content to a partial

Added by Jérôme BATAILLE almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:2.6.0
Resolution:Fixed

Description

It's more convenient to override the sidebar in plugins

RM_17380_project_show_add_a_sidebar_partial_RM_V2.5.diff Magnifier (1.74 KB) Jérôme BATAILLE, 2014-07-04 10:48

Associated revisions

Revision 13393
Added by Jean-Philippe Lang almost 4 years ago

Moves project sidebar content to a partial (#17380).

Patch by Jérôme BATAILLE.

History

#2 Updated by Daniel Felix almost 4 years ago

Would be good, as the same approach is taken for the issues.

#3 Updated by Toshi MARUYAMA almost 4 years ago

  • Target version set to 2.6.0

#4 Updated by Mischa The Evil almost 4 years ago

Jérôme BATAILLE wrote:

Here is the patch

Nice. Thanks for sharing.

Daniel Felix wrote:

Would be good, as the same approach is taken for the issues.

Daniel, am I missing something? AFAICT the sidebar code for issues (both #index and #show) is already located in a dedicated partial (source:/trunk/app/views/issues/_sidebar.html.erb).

#5 Updated by Jérôme BATAILLE almost 4 years ago

Mischa, you're right, but the content of the partial is totally different.

#6 Updated by Jean-Philippe Lang almost 4 years ago

  • Subject changed from Project / show add a sidebar partial to Move project sidebar content to a partial
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed in r13393.

#7 Updated by Jérôme BATAILLE almost 4 years ago

Thanks a lot !

Also available in: Atom PDF