File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Responsiveness of grid items at lower screen resolutions
2- Responsiveness of list items at >800px
1+ Some default responsiveness behaviour
Original file line number Diff line number Diff line change @@ -110,7 +110,8 @@ public function has_config() {
110110 * @return array
111111 */
112112 public function applicable_formats () {
113- return array ('my ' => true );
113+ // 'all' => true
114+ return array ('my ' => true , 'site ' => true );
114115 }
115116
116117 /**
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ function block_lw_courses_get_sorted_courses($showallcourses = false) {
218218 break ;
219219 }
220220
221- // Make sure user is still enroled .
221+ // Make sure user is still enrolled .
222222 if (isset ($ courses [$ cid ])) {
223223 $ sortedcourses [$ cid ] = $ courses [$ cid ];
224224 $ counter ++;
Original file line number Diff line number Diff line change 44[ ![ 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 )
55[ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg )] ( readme.md )
66
7- Installation Instruction
8- =====================
7+ Installation Instructions
8+ =========================
99
1010* Make sure you have all the required versions.
1111* Download and unpack the block folder.
@@ -19,23 +19,23 @@ Moodle compatibility
1919=====================
2020* Tested with Moodle 3.1, 3.2 and 3.3
2121
22+
2223Features
2324====================
2425* Unique dashboard for learners and teachers
2526* Two layouts to choose from
26- * Show's leraner 's progress in a course from their home page
27+ * Shows learner 's progress in a course from their home page
2728* Can show teachers within a course
2829* Block and setting default images for courses
2930* Render course summary file images
3031* Display course summary text
3132
32-
3333![ List styling] ( https://github.com/learningworks/moodle-block_lw_courses/raw/master/pix/list.png " List styling ")
3434![ Grid styling] ( https://github.com/learningworks/moodle-block_lw_courses/raw/master/pix/grid.png " Grid styling ")
3535
3636Change log
3737=====================
38- Please Look in CHANGELOG
38+ Please look in CHANGELOG
3939
4040About Author
4141=====================
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ public function course_image_defaults() {
514514 $ image = html_writer::empty_tag ('img ' , array ( 'src ' => $ imageurl , 'class ' => 'course_image ' ));
515515 return html_writer::div ($ image , 'image_wrap ' );
516516 } else {
517- // We need a CSS soloution apparently lets give it to em.
517+ // We need a CSS solution apparently lets give it to ' em.
518518 return html_writer::div ('' , 'course_image_embed ' ,
519519 array ("style " => 'background-image:url( ' .$ imageurl .'); background-size:cover ' ));
520520 }
You can’t perform that action at this time.
0 commit comments