From a929dd10ee3f7bc2d10938f72c1635affd62db92 Mon Sep 17 00:00:00 2001 From: Ranjit Date: Thu, 18 Jun 2020 15:52:07 +0530 Subject: [PATCH 1/5] Fixed section title position issue in list format. --- styles.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/styles.css b/styles.css index 097d978..b03bfae 100644 --- a/styles.css +++ b/styles.css @@ -289,6 +289,12 @@ ul.remui-format-list h4.sectionname { /* padding: 7px 0; */ } +/* Was added in RemUI theme */ +#page-course-view-remuiformat.editing ul.remui-format-list h4.sectionname{ + padding: 10px 0!important; + clear: none!important; +} + #page-course-view-remuiformat div#card-editing-container .section-title, #page-course-view-remuiformat div#card-container .section-title, #page-course-view-remuiformat .single-section-title { From f01da6bda842504d8b040a7c13c441ee67a17bf7 Mon Sep 17 00:00:00 2001 From: Ranjit Date: Thu, 18 Jun 2020 15:54:40 +0530 Subject: [PATCH 2/5] Fixed page title and summery position issue in List format if all sections are on one page in non-editing mode. --- templates/list_sections_summary.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/list_sections_summary.mustache b/templates/list_sections_summary.mustache index 6654eef..3fb1224 100644 --- a/templates/list_sections_summary.mustache +++ b/templates/list_sections_summary.mustache @@ -78,7 +78,7 @@ {{{ title }}} {{/editing}} {{^editing}} - {{{ title }}} + {{{ title }}} {{#progressinfo}} {{#completed}} @@ -102,4 +102,4 @@ -{{/addsection}} \ No newline at end of file +{{/addsection}} From 40ad544f401c8731cee49e846a2751e96fcbedf5 Mon Sep 17 00:00:00 2001 From: Ranjit Date: Thu, 18 Jun 2020 15:56:34 +0530 Subject: [PATCH 3/5] Changes.txt Updated - v-1.0.7 --- changes.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changes.txt b/changes.txt index 7e944fb..f1820cb 100644 --- a/changes.txt +++ b/changes.txt @@ -1,3 +1,8 @@ +Version 1.0.7 +Fixes +* Fixed : Position issue with topic title in List layout in editing mode. +* Fixed : Position issue with topic title and topic summary in list layout if show all section on one page option is selected in non-editing mode. + Version 1.0.6 Fixes * Fixed : HTML support for section description in card layout. From f34552e7f96dbf665ca187320f57ced50dd56b91 Mon Sep 17 00:00:00 2001 From: Ranjit Date: Thu, 18 Jun 2020 15:57:44 +0530 Subject: [PATCH 4/5] README.md Updated - v-1.0.7 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ed84220..d548ab7 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Card Format is another standout course format in the offering. Edwiser Card Form # Plugin Version -v1.0.6 - Plugin Released +v1.0.7 - Plugin Released [(Back to top)](#table-of-contents) @@ -53,7 +53,7 @@ v1.0.6 - Plugin Released This version works with Moodle 3.4+ version 2017111300.00 (Build: 20171113) and above until the next release. Please ensure that your hardware and software complies with 'Requirements' in 'Installing Moodle' on -'https://docs.moodle.org/38/en/Step-by-step_Installation_Guide_for_Ubuntu'. +'https://docs.moodle.org/39/en/Step-by-step_Installation_Guide_for_Ubuntu'. [(Back to top)](#table-of-contents) @@ -94,7 +94,7 @@ Together we could make this solution better for your Moodle. 1. Ensure you have the version of Moodle as stated above in 'Required version of Moodle'. This is essential as the format relies on underlying core code that is out of my control. -2. Put Moodle in 'Maintenance Mode' (https://docs.moodle.org/38/en/Maintenance_mode) so that there are no +2. Put Moodle in 'Maintenance Mode' (https://docs.moodle.org/39/en/Maintenance_mode) so that there are no users using it bar you as the administrator - if you have not already done so. 3. Copy 'remuiformat' to '/course/format/' if you have not already done so. 4. Go back in as an administrator and follow standard the 'plugin' update notification. If needed, go to From 54ce100d6f3807819c4d9eaee1c6c3f970280793 Mon Sep 17 00:00:00 2001 From: Ranjit Date: Thu, 18 Jun 2020 15:59:02 +0530 Subject: [PATCH 5/5] version.php Updated - v-1.0.7 --- db/install.xml | 2 +- db/upgrade.php | 4 ++-- version.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/install.xml b/db/install.xml index daba1f1..64b946f 100644 --- a/db/install.xml +++ b/db/install.xml @@ -1,5 +1,5 @@ - diff --git a/db/upgrade.php b/db/upgrade.php index 1c8f74a..34e91a9 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -43,7 +43,7 @@ function xmldb_format_remuiformat_upgrade($oldversion) { global $DB; $dbman = $DB->get_manager(); - if ($oldversion < 2020051400) { + if ($oldversion < 2020061800) { // Define table format_remuiformat to be created. $table = new xmldb_table('format_remuiformat'); @@ -67,6 +67,6 @@ function xmldb_format_remuiformat_upgrade($oldversion) { } // Remuiformat savepoint reached. - upgrade_plugin_savepoint(true, 2020051400, 'format', 'remuiformat'); + upgrade_plugin_savepoint(true, 2020061800, 'format', 'remuiformat'); } } diff --git a/version.php b/version.php index 29803fd..cab8765 100644 --- a/version.php +++ b/version.php @@ -24,8 +24,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020051400; // The current plugin version (Date: YYYYMMDDXX). -$plugin->release = '1.0.6'; +$plugin->version = 2020061800; // The current plugin version (Date: YYYYMMDDXX). +$plugin->release = '1.0.7'; $plugin->requires = 2017111300; // Requires this Moodle version (Moodle V3.4.0). $plugin->maturity = MATURITY_STABLE; $plugin->component = 'format_remuiformat'; // Full name of the plugin (used for diagnostics).