Commit Graph

4 Commits

Author SHA1 Message Date
Ilya Tregubov ba32de5281 MDL-78909 mod_lti: Show category restriction only for site tools 2023-09-11 10:14:58 +08:00
Jake Dallimore 6f4555d31d MDL-78597 mod_lti: improve DB reads on coursetooledit page
This was hitting the lti_types table twice, via both lti_get_type and
lti_get_type_type_config. This change adds course to the stdClass
returned by the latter, so we can just make a single call to that.
This also permits the use of that course property in other places
where we'd like to have access to it, such as when editing a pre-
configured tool at site level.
2023-08-29 13:05:55 +08:00
Jake Dallimore 9f7e2cafda MDL-78713 mod_lti: update lang strings 2023-08-08 13:33:01 +08:00
Jake Dallimore 8d455f5adb MDL-78575 mod_lti: add course tool editing form as standalone page
This handles create/edit of course tools. Deletion will be supported via
an action and modal confirm on the coursetools listing page.
2023-07-17 09:22:17 +08:00