diff --git a/KNOWNISSUES b/KNOWNISSUES index de1884e..3aca614 100644 --- a/KNOWNISSUES +++ b/KNOWNISSUES @@ -1,2 +1 @@ -Responsiveness of grid items at lower screen resolutions -Responsiveness of list items at >800px \ No newline at end of file +Some default responsiveness behaviour \ No newline at end of file diff --git a/locallib.php b/locallib.php index 3245bec..4fb7b24 100644 --- a/locallib.php +++ b/locallib.php @@ -216,7 +216,7 @@ function block_lw_courses_get_sorted_courses($showallcourses = false) { break; } - // Make sure user is still enroled. + // Make sure user is still enrolled. if (isset($courses[$cid])) { $sortedcourses[$cid] = $courses[$cid]; $counter++; diff --git a/readme.md b/readme.md index e1d8017..e00487a 100644 --- a/readme.md +++ b/readme.md @@ -3,33 +3,33 @@ [![Code Climate](https://codeclimate.com/github/learningworks/moodle-block_lw_courses/badges/gpa.svg)](https://codeclimate.com/github/learningworks/moodle-block_lw_courses/) [![Issue Count](https://lima.codeclimate.com/github/learningworks/moodle-block_lw_courses/badges/issue_count.svg)](https://lima.codeclimate.com/github/learningworks/moodle-block_lw_courses) -Installation Instruction -===================== +Installation Instructions +========================= * Make sure you have all the required versions. * Download and unpack the block folder. * Place the folder (eg "lw_courses") in the "blocks" subdirectory. * Visit http://yoursite.com/admin to complete the installation -* Turn editing on the my page. +* Turn editing on the /my page. * Add the block to the page -* Visit the config link in the block for more options. +* Navigate to the block's admin settings for various custom settings -Moodle compatibility -===================== +Moodle Compatibility +==================== * Tested with Moodle 3.0, 3.1 and 3.2 Features ==================== * Unique dashboard for learners and teachers * Two layouts to choose from -* Show's leraner's progress in a course from their home page +* Shows learner's progress in a course from their home page ![List styling](https://github.com/learningworks/moodle-block_lw_courses/raw/master/pix/list.png "List styling") ![Grid styling](https://github.com/learningworks/moodle-block_lw_courses/raw/master/pix/grid.png "Grid styling") Change log ===================== -Please Look in CHANGELOG +Please look in CHANGELOG About Author ===================== diff --git a/renderer.php b/renderer.php index 111d1c2..1c7ab29 100644 --- a/renderer.php +++ b/renderer.php @@ -490,7 +490,7 @@ public function course_image_defaults() { $image = html_writer::empty_tag('img', array( 'src' => $imageurl, 'class' => 'course_image' )); return html_writer::div($image, 'image_wrap'); } else { - // We need a CSS soloution apparently lets give it to em. + // We need a CSS solution apparently lets give it to 'em. return html_writer::div('', 'course_image_embed', array("style" => 'background-image:url('.$imageurl.'); background-size:cover')); }