jbbarth / redmine_better_crossprojects

Temporary plugin to handle usability problems discussed on redmine.org #5920
http://www.redmine.org/issues/5920
12 stars 8 forks source link

Indent project list when url contains ?jump=projects #17

Open tantic opened 5 years ago

tantic commented 5 years ago

Hello,

when i click on the link "All projects" from the jump list, the project list is not indented. When i look at the code, i can see in the page _list.html.erb the line

<%= url_for(:only_path => true) == url_for(@params) && level > 0 ? "idnt idnt-#{level}" : nil %>">

with the comment

indent only if there no query : if basic url = current url

I understand why it doesn't work in my case because the url is /projects?jump=projects Would it be possible to have an exception on that specific url or is there something i don't see?

Thank you!