mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-32508 course_format: fix up some minor style issues
Noticed whilst reviewing again
This commit is contained in:
parent
10cdacfecb
commit
96e1285162
@ -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';
|
||||
|
@ -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;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user