mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-10544 basic UI for outcome item adding/editing implemented - todo: calculation support, lang strings, bugfixing...
whitespace cleanup
This commit is contained in:
parent
4faf5f99be
commit
f10fac9669
14 changed files with 298 additions and 50 deletions
|
@ -580,7 +580,11 @@ class grade_tree {
|
|||
case 'item':
|
||||
case 'categoryitem':
|
||||
case 'courseitem':
|
||||
$url = $CFG->wwwroot.'/grade/edit/item.php?courseid='.$this->courseid.'&id='.$object->id;
|
||||
if (empty($object->outcomeid)) {
|
||||
$url = $CFG->wwwroot.'/grade/edit/item.php?courseid='.$this->courseid.'&id='.$object->id;
|
||||
} else {
|
||||
$url = $CFG->wwwroot.'/grade/edit/outcomeitem.php?courseid='.$this->courseid.'&id='.$object->id;
|
||||
}
|
||||
$url = $gpr->add_url_params($url);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue