Feature #15914
Projects list : button to hide / show sub-projects
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Projects | |||
Target version: | - | |||
Resolution: |
Description
It allows to hide sub-projects level by level.
It's very useful for example to move projects, for administrators with plenty of projects this is our case :-) ).
The patch is simple and non intrusive (Javascript copied from other part of Redmine with + / - buttons).
I did not found a way to include the javascript code in a separate js file (I put this enhancement in our specific plugin).
History
#1
Updated by Jérôme BATAILLE about 9 years ago
#2
Updated by Jérôme BATAILLE about 9 years ago
- This piece of css must be added somewhere in a stylesheet file (in a theme for example)
Take care of the image url relative path
div.closed span.expander {
background-image: url(../../../../images/bullet_toggle_plus.png);
}
div span.expander {
background-image: url(../../../../images/bullet_toggle_minus.png);
padding-left: 8px;
margin-left: 0;
cursor: pointer;
}
#3
Updated by Jérôme BATAILLE about 9 years ago
#4
Updated by Sebastian Paluch over 7 years ago
+1
...but the patch should be complete, which is, include all necessary changes to the helper and main stylesheet. I think, it would be nice too if the project tree could be collapsed by default.
#5
Updated by Jérôme BATAILLE almost 7 years ago
TODO: provide a full patch