Actions
Feature #15914
openProjects list : button to hide / show sub-projects
Status:
New
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
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).
Files
Updated by Jérôme BATAILLE almost 11 years ago
Updated by Jérôme BATAILLE almost 11 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;
}
Updated by Jérôme BATAILLE almost 11 years ago
Updated by Sebastian Paluch about 9 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.
Actions