Skip to content

Commit

Permalink
Merge pull request #102 from WisdmLabs/dev40
Browse files Browse the repository at this point in the history
Merged dev40 into stable40
  • Loading branch information
jishan-ansari2000 authored Nov 27, 2024
2 parents c32a83a + 5a5a066 commit 8a3e2c0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
6 changes: 5 additions & 1 deletion changes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGES LOG

Version 4.1.11
=============
Fix - Resolved the issue where hidden sections were visible as empty cards to students.

Version 4.1.10
=============
Feature - Compatibility with Moodle 4.5.
Expand All @@ -18,7 +22,7 @@ Feature - Added language translation files for:
- Portuguese (Brazil) (pt_br)
- France (fr)
- Polish (pl)
- Arabic (ar)
- Arabic (ar)
Feature - Teachers of the same group are visible in the course header when the separate group setting is selected
Tweak - Multi lang filter plugins support added
Tweak - Added missing translated string in lang files.
Expand Down
5 changes: 4 additions & 1 deletion classes/course_format_data_common_trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ public function get_all_section_data($renderer, $editing, $rformat, $settings, $
$section = $allsectinswithoutdelegated[$sectionindex];

//Generate context for the sectoin
$sections[] = $this->get_single_section_generated_data($course, $section);
$sectiongenerateddata = $this->get_single_section_generated_data($course, $section);
if ($sectiongenerateddata) {
$sections[] = $sectiongenerateddata;
}
}

// Add new sections button.
Expand Down
1 change: 1 addition & 0 deletions scss/card-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
.actions {
top: 1rem;
right: 0.5rem;
z-index: 10;
}
.wdm-mod-name {
padding-right: 5rem;
Expand Down
3 changes: 2 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ body#page-course-view-remuiformat.editing .remui-format-card.all-section-format
body#page-course-view-remuiformat.editing .remui-format-card.single-section-format .activity-cards .actions {
top: 1rem;
right: 0.5rem;
z-index: 10;
}

body#page-course-view-remuiformat.editing .remui-format-card.single-section-format .activity-cards .wdm-mod-name {
Expand Down Expand Up @@ -2695,5 +2696,5 @@ body:not(.editing) #page-content .course-content ul li.section.main.delegated-se
}

.edw-m405 #page .editing_move {
display: none !important;
display: none !important;
}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024102300; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '4.1.10';
$plugin->version = 2024112700; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '4.1.11';
$plugin->requires = 2022041900; // Requires this Moodle version (Moodle V4.0).
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'format_remuiformat'; // Full name of the plugin (used for diagnostics).

0 comments on commit 8a3e2c0

Please sign in to comment.