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 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. 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/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 { 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}} 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).