mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
user selection: MDL-17072 Polishing the role assign page:
* Make the role being assigned clear in the title * Make the options in the middle of the page be in a collapsable options section, collapsed by default. * Put them in a smaller font too. * Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.
This commit is contained in:
parent
5f1ae48d2c
commit
c9f8e118c9
7 changed files with 75 additions and 32 deletions
|
@ -638,11 +638,10 @@ function collapsible_region(id, userpref, strtooltip) {
|
|||
} else {
|
||||
this.icon.src = moodle_cfg.pixpath + '/t/expanded.png';
|
||||
}
|
||||
this.caption.appendChild(this.icon);
|
||||
a.appendChild(this.icon);
|
||||
|
||||
// Hook up the event handler.
|
||||
self = this;
|
||||
YAHOO.util.Event.addListener(this.caption, 'click', function(e) {self.handle_click(e);});
|
||||
YAHOO.util.Event.addListener(a, 'click', function(e) {self.handle_click(e);});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue