mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Fix the location of the link to the site-wide grading preferences
This commit is contained in:
parent
6308b91c13
commit
2c7a9bd2af
@ -74,6 +74,10 @@ print_header_simple($strgrades.': '.$strgraderreport . ': ' . $strgradepreferenc
|
||||
/// Print the plugin selector at the top
|
||||
print_grade_plugin_selector($course->id, 'report', 'grader');
|
||||
|
||||
// Add tabs
|
||||
$currenttab = 'preferences';
|
||||
include('tabs.php');
|
||||
|
||||
// If USER has admin capability, print a link to the site config page for this report
|
||||
if (has_capability('moodle/site:config')) {
|
||||
echo '<div id="siteconfiglink"><a href="' . $CFG->wwwroot . '/admin/settings.php?section=gradereportgrader">';
|
||||
@ -81,10 +85,6 @@ if (has_capability('moodle/site:config')) {
|
||||
echo "</a></div>\n";
|
||||
}
|
||||
|
||||
// Add tabs
|
||||
$currenttab = 'preferences';
|
||||
include('tabs.php');
|
||||
|
||||
print_simple_box_start("center");
|
||||
|
||||
include('./preferences_form.php');
|
||||
|
@ -2257,6 +2257,10 @@ body#doc-contents ul {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.grade-report-grader #siteconfiglink {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/***
|
||||
*** Login
|
||||
***/
|
||||
|
Loading…
x
Reference in New Issue
Block a user