plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
246 stars 186 forks source link

Navigation portlet indentation level is fixed after 1st nesting level #1906

Closed fulv closed 6 years ago

fulv commented 7 years ago

Navigation portlet indentation level is fixed after 1st nesting level

What I did:

  1. Create at least two folders, one inside the other, and a leaf item in the innermost folder, e.g.: /Members/jblow12345/2017/q1/1st-q-2017-statement-12345.pdf
  2. Navigate to the leaf item (the file 1st-q-2017-statement-12345.pdf, in my example)

What I expect to happen:

The navigation portlet should indent each successive level of nesting further to the right, or otherwise indicate the nesting structure, perhaps with successively smaller fonts (just an example).

What actually happened:

After the first level of nesting, all further levels have the exact same indentation, and look like they are all elements of the first level folder.

What version of Plone/ Addons I am using:

Plone 5.0.6

Screenshot

The following screenshot shows the navigation portlet when I'm on /Members/jblow12345/2017/q1/1st-q-2017-statement-12345.pdf/view:

1st q 2017 statement 12345 pdf

MrTango commented 6 years ago

This is still the case in current 5.1.3 release.

plone-nested-folders-indention-bug

petschki commented 6 years ago

anybody willing to review my fix here https://github.com/plone/plonetheme.barceloneta/pull/156 ?