MDL-42492 course: Show option to move category to top level

added behat to test move category
This commit is contained in:
Rajesh Taneja
2013-11-01 15:53:38 +11:00
committed by Marina Glancy
parent df27570b93
commit 3b732cd6cc
6 changed files with 119 additions and 4 deletions
+1 -1
View File
@@ -2043,7 +2043,7 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
$context = $this->get_context();
return format_string($this->name, true, array('context' => $context) + $options);
} else {
return ''; // TODO 'Top'?.
return get_string('top');
}
}