Feature #17380
Move project sidebar content to a partial
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | UI | |||
Target version: | 2.6.0 | |||
Resolution: | Fixed |
Description
It's more convenient to override the sidebar in plugins
Associated revisions
Moves project sidebar content to a partial (#17380).
Patch by Jérôme BATAILLE.
History
#1
Updated by Jérôme BATAILLE almost 8 years ago
Here is the patch
#2
Updated by Daniel Felix almost 8 years ago
Would be good, as the same approach is taken for the issues.
#3
Updated by Toshi MARUYAMA almost 8 years ago
- Target version set to 2.6.0
#4
Updated by Mischa The Evil almost 8 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 8 years ago
Mischa, you're right, but the content of the partial is totally different.
#6
Updated by Jean-Philippe Lang almost 8 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 8 years ago
Thanks a lot !