Make issue history collapsable
The patch also adds an independent collapse/Expand button on the Description of the issue.
This was requested by our support team as they use email reception features of Redmine to manage support requests from clients, and sometimes, history can become very long, when there are many mails exchanged.
Feel free to include this code in a future version of Redmine. The patch is based on 2.6.0.
Note that this more or less addresses feature request #15409.
#1 Updated by Olivier Houdas over 3 years ago
#2 Updated by Olivier Houdas over 3 years ago
- File Collapsable-history-divs.patch added
After some more testing, I realized I broke the DOM model by interlacing DIV and TR tags.
Here is another patch, completely re-written. It uses the same principle as for issues list with tables, but applied to DIV tags with specific classes.
With this new code, there is no more layout issue for displaying the revision history from the code repository.
#4 Updated by Olivier Houdas about 3 years ago
- File Collapsable-divs-History-and-roadmap.patch added
I have updated my patch to use the same css and js changes to add collapsable versions in the roadmap.
The new patch is built for Redmine 3.1.0.
I checked the generated HTML pages with Tidy and fixed a unclosed DIV in the first version of the patch.