Skip to content

Commit

Permalink
Merge pull request #33 from WisdmLabs/dev
Browse files Browse the repository at this point in the history
Release of Edwiser RemUI Format v1.0.7 plugin.
  • Loading branch information
ranjitlawale11 authored Jun 18, 2020
2 parents 7efbc18 + 54ce100 commit 795637c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion db/install.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="course/format/remuiformat/db" VERSION="20200514" COMMENT="XMLDB file for core Moodle tables"
<XMLDB PATH="course/format/remuiformat/db" VERSION="20200618" COMMENT="XMLDB file for core Moodle tables"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
>
Expand Down
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand All @@ -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');
}
}
6 changes: 6 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions templates/list_sections_summary.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{{{ title }}}
{{/editing}}
{{^editing}}
<a class="panel-title p-0 float-left" href="{{{ singlepageurl }}}" aria-expanded="{{#collapsed}}false{{/collapsed}}{{#expanded}}true{{/expanded}}" aria-controls="sectionwrapper-{{{index}}}">{{{ title }}}
<a class="panel-title p-0" href="{{{ singlepageurl }}}" aria-expanded="{{#collapsed}}false{{/collapsed}}{{#expanded}}true{{/expanded}}" aria-controls="sectionwrapper-{{{index}}}">{{{ title }}}
</a>
{{#progressinfo}}
{{#completed}}
Expand All @@ -102,4 +102,4 @@
</div>
<span class="hidden sectionname">{{{ title }}}</span>
</li>
{{/addsection}}
{{/addsection}}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 795637c

Please sign in to comment.