]> git.mjollnir.org Git - moodle.git/commitdiff
Fix the location of the link to the site-wide grading preferences
authormoodler <moodler>
Fri, 14 Sep 2007 06:51:57 +0000 (06:51 +0000)
committermoodler <moodler>
Fri, 14 Sep 2007 06:51:57 +0000 (06:51 +0000)
grade/report/grader/preferences.php
theme/standard/styles_layout.css

index e8ecb35d357af05f110c3826b5995401054237c8..df0767200865d4753247bf1afe5cd51693f7f6ba 100644 (file)
@@ -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');
index b3ac970b57e0701b3910de494c348c028c09d106..2e9a75f0f27d0f573b4d0b54c85df861d638bbc8 100644 (file)
@@ -2257,6 +2257,10 @@ body#doc-contents ul {
   text-align: center;
 }
 
+.grade-report-grader #siteconfiglink {
+  text-align: right;
+}
+
 /***
  *** Login
  ***/