We've just updated one of our sandbox sites to Moodle 3.4 from 3.1 and in the process we updated our collapsed topics format from 22.214.171.124 to 126.96.36.199.
We use a lot of restrictions in one of our courses to control access to each segment and now after the update the restrictions are popping up in the topic title instead of being hidden under the topic heading. This causes each topic title to get pretty massive. Is there a way to hide the restrictions in the topic like it used to be so you couldn't see them until you expanded the topic?
You can see what I mean in the attached pics. They are the same course (different restriction criteria though), with the before pic on the live site running Moodle 3.1 and Topics 188.8.131.52 and the after on our sandbox running 3.4 and 184.108.40.206. If i add more restrictions to the after pic that heading gets massive really fast, and that's before the topic is expanded.
Am I missing something?
Ok, I can see arguments on both sides for having the information in either the toggle (so that it is immediately known about and not hidden) and for in the actual content. So I'm inclined to leave it as is.
If you want to change locally then edit renderer.php and move '$o .= $this->section_availability($section);' to a suitable place within the 'section_header' method.