mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
gradebook MDL-23054 Added a link to "manage outcomes" from the "add outcomes to course" screen
This commit is contained in:
parent
b012d805e1
commit
4a15febe7c
@ -59,6 +59,16 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
if (has_capability('moodle/grade:manageoutcomes', $context)) {
|
||||
?>
|
||||
<p class="mdl-align">
|
||||
<a href="<?php echo $CFG->wwwroot ?>/grade/edit/outcome/index.php"><?php echo get_string('editoutcomes','grades'); ?></a>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<input name="id" type="hidden" value="<?php echo $courseid?>"/>
|
||||
<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user