mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #46729
[Bug 1747730] A change has been merged
Reviewed: https://reviews.mahara.org/8508
Committed: https://git.mahara.org/mahara/mahara/commit/4b3008fbfbb6f1a566c2787cccf2191eaa853b66
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch: master
commit 4b3008fbfbb6f1a566c2787cccf2191eaa853b66
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Wed Feb 7 07:31:58 2018 +1300
Bug 1747730: Allow one to add custom css to plugin extention config page
By adding the get_config_options_css() function, eg in your module:
public static function get_config_options_css() {
return array('<style type="text/css"> .mycustom { color: red; } </style>');
}
behatnotneeded
Change-Id: I0ae9d85fe41e416a8edc60cd40dd4f189aada5cb
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1747730
Title:
Allow module add custom css to the plugin extension configure page
Status in Mahara:
Fix Committed
Bug description:
When creating a module with configurable options we need a way to
allow the module to add custom css to the plugin config page.
We need to be able to add css either by an external file or <style
type="text/css"></style> tag
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1747730/+subscriptions
References