[AMOS commit] MDL-68256 task admin: usability improvements Committed into Git: 2020-03-26 16:59 UTC

[AMOS commit] MDL-68256 task admin: usability improvements Committed into Git: 2020-03-26 16:59 UTC

by AMOS bot -
Number of replies: 0
Author: Tim Hunt
MDL-68256 task admin: usability improvements
In the table that lists the scheduled tasks:

1. There are badges to show which components are disabled.
2. The plugin name (e.g. auth_ldap) is shown as well as the
human-readable name (e.g. LDAP server).
3. Where a time column has a non-default value, it is highlighted
and the default is shown.
4. If the fail-delay is non-zero, the cell is highlighted.
4. If you just interacted with a task (looked at or edited the settings,
did Run now, or cleared the fail delay) that row is highlighted,
and scrolled into view when the page loads.

To support this, some of the methods for loading the default tasks
have been extended with an optional argument to leave 'R' as 'R'
rather than replacing with a random number.

Also, mixed into this commit are a bunch of coding style improvements.
Sorry I did not separate them out, but ultimately this makes the
Moodle code better.


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

+ 3.9 en [defaultx,tool_task]