MDL-32508 course_format: fix up some minor style issues
authorDan Poltawski <dan@moodle.com>
Thu, 3 May 2012 10:43:26 +0000 (18:43 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 4 May 2012 02:53:05 +0000 (10:53 +0800)
Noticed whilst reviewing again

course/format/renderer.php
theme/base/style/course.css

index 360d050..bcbe2e0 100644 (file)
@@ -56,8 +56,8 @@ abstract class format_renderer_base extends plugin_renderer_base {
 
     /**
      * Generate the content to displayed on the right part of a section
-     *
      * before course modules are included
+     *
      * @param stdClass $section The course_section entry from DB
      * @param stdClass $course The course entry from DB
      * @param bool $onsectionpage true if being printed on a section page
@@ -78,8 +78,8 @@ abstract class format_renderer_base extends plugin_renderer_base {
 
     /**
      * Generate the content to displayed on the left part of a section
-     *
      * before course modules are included
+     *
      * @param stdClass $section The course_section entry from DB
      * @param stdClass $course The course entry from DB
      * @param bool $onsectionpage true if being printed on a section page
@@ -115,7 +115,7 @@ abstract class format_renderer_base extends plugin_renderer_base {
         $sectionstyle = '';
         $linktitle = false;
 
-        if ($section->section != 0 ) {
+        if ($section->section != 0) {
             // Only in the non-general sections.
             if (!$section->visible) {
                 $sectionstyle = ' hidden';
index 18652c3..9dd7fc3 100644 (file)
@@ -11,7 +11,7 @@
 .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; }
 .course-content .section-summary .section-title  { margin: 2px 5px 2px 5px; }
 .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
-.course-content .section-navigation { display: block; padding: 10px }
+.course-content .section-navigation { display: block; padding: 10px; }
 .course-content .section-navigation .right { float: right; }
 
 #page-site-index .subscribelink {text-align:right;}