moodle-an-hochschulen / moodle-availability_password

Moodle availability plugin which lets users restrict resources and activities with password access
GNU General Public License v3.0
4 stars 6 forks source link

Get rid of the 'show more' link in Moodle 4.3 #24

Closed abias closed 2 months ago

abias commented 1 year 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:

grafik grafik

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.

abias commented 2 months ago

As far as I can tell, this does not happen anymore on Moodle 4.4:

grafik

Against this background, I will close this issue.