[AMOS commit] MDL-71788 calendar: Make it easier to copy the calendar URL Committed into Git: 2021-06-22 06:09 UTC

[AMOS commit] MDL-71788 calendar: Make it easier to copy the calendar URL Committed into Git: 2021-06-22 06:09 UTC

by AMOS bot -
Number of replies: 0
Author: Jun Pataleta
MDL-71788 calendar: Make it easier to copy the calendar URL
Converted the Calendar URL string to a read-only text input containing
the calendar URL. Pressing the "Copy URL" button will copy the calendar
URL to the clipboard.
Fixed Behat tests as well for the export feature. With the calendar URL
in a text input that clips the whole URL, the `preset_what` URL
parameter cannot be seen by the "I should see" step. Worked around
this by checking that the actual value attribute of the calendar URL
text input contains the preset_what parameter.

Plus: Deprecate the calendarurl string. It will be replaced by a new
lang string that does not contain the actual calendar URL.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=5c701504503489c0533b0ae056e77329c1d66eca
http://github.com/moodle/moodle/commit/5c701504503489c0533b0ae056e77329c1d66eca

+ 4.0 en [calendarexporturl,core_calendar]
+ 4.0 en [calendarurlcopiedtoclipboard,core_calendar]
+ 4.0 en [copycalendarurl,core_calendar]
+ 4.0 en [copyurl,core_calendar]