View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0024402 | mantisbt | ui | public | 2018-05-07 16:25 | 2022-09-23 06:54 |
| Reporter | kae_verens | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0024402: tree-based project navigation | ||||
| Description | instead of having to read through or search through a long list of projects, why not have them automatically hidden/shown by hierarchy? I wrote a small script which, when attached to the layout, will transform the HTML of the projects menu and add some jQuery toggle events. screenshots show before, after (with sub-menus collapsed), and after (with a sub-menu expanded) The code is in the Additional Information section below. I put that in a file (/js/project-navigation.js), and then in core/layout_api.js, I put the following line after line 632 (where the "projects-list" div is echoed) echo '<script src="/js/project-navigation.js"></script>'; | ||||
| Additional Information | my code:
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||