Closed abias closed 2 months ago
The new activity restriction information in Moodle 4.3 overreacts with this this plugin and adds a 'show more' link even though it would not be necessary:
This seems to happen because the availability description contains HTML code (see https://github.com/moodle-an-hochschulen/moodle-availability_password/blob/master/classes/condition.php#L152) and is, measured by its pure character length, quite long.
Changing this behaviour might be tricky and might involve a redesign where the link is added by JS in the browser and not by the PHP code anymore.
As far as I can tell, this does not happen anymore on Moodle 4.4:
Against this background, I will close this issue.
The new activity restriction information in Moodle 4.3 overreacts with this this plugin and adds a 'show more' link even though it would not be necessary:
This seems to happen because the availability description contains HTML code (see https://github.com/moodle-an-hochschulen/moodle-availability_password/blob/master/classes/condition.php#L152) and is, measured by its pure character length, quite long.
Changing this behaviour might be tricky and might involve a redesign where the link is added by JS in the browser and not by the PHP code anymore.