Skip to content

Commit

Permalink
MDL-32508 course_format: fix up some minor style issues
Browse files Browse the repository at this point in the history
Noticed whilst reviewing again
  • Loading branch information
danpoltawski committed May 4, 2012
1 parent 10cdacf commit 96e1285
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions course/format/renderer.php
Expand Up @@ -56,8 +56,8 @@ abstract public function page_title();

/**
* 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
Expand All @@ -78,8 +78,8 @@ public function section_right_content($section, $course, $onsectionpage) {

/**
* 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
Expand Down Expand Up @@ -115,7 +115,7 @@ public function section_header($section, $course, $onsectionpage) {
$sectionstyle = '';
$linktitle = false;

if ($section->section != 0 ) {
if ($section->section != 0) {
// Only in the non-general sections.
if (!$section->visible) {
$sectionstyle = ' hidden';
Expand Down
2 changes: 1 addition & 1 deletion theme/base/style/course.css
Expand Up @@ -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;}
Expand Down

0 comments on commit 96e1285

Please sign in to comment.