Project

General

Profile

Actions

Feature #17380

closed

Move project sidebar content to a partial

Added by Jérôme BATAILLE over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

It's more convenient to override the sidebar in plugins


Files

Actions #2

Updated by Daniel Felix over 10 years ago

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

Actions #3

Updated by Toshi MARUYAMA over 10 years ago

  • Target version set to 2.6.0
Actions #4

Updated by Mischa The Evil about 10 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).

Actions #5

Updated by Jérôme BATAILLE about 10 years ago

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

Actions #6

Updated by Jean-Philippe Lang about 10 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.

Actions #7

Updated by Jérôme BATAILLE about 10 years ago

Thanks a lot !

Actions

Also available in: Atom PDF