Skip to content

Commit

Permalink
Merge pull request #52 from WisdmLabs/dev
Browse files Browse the repository at this point in the history
dev to master for v1.1.1
  • Loading branch information
wisdmyogeshshirsath authored Sep 3, 2021
2 parents b445a9a + 45816c8 commit 03d7293
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
5 changes: 5 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Version 1.1.1
Fixes:
Folder activity issue with general section of card and list layout.
Improved display_file function.

Version 1.1.0
Feature
* Added setting to set default course layout
* Moodle 3.11 compatibility
Expand Down
4 changes: 1 addition & 3 deletions classes/course_format_data_common_trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@ public function get_list_activities_details($section, $course, $courserenderer,
);
$activitydetails->viewurl = $mod->url;
$activitydetails->title = $courserenderer->course_section_cm_name($mod, $displayoptions);
if (array_search($mod->modname, array('label', 'folder')) !== false) {
$activitydetails->title = $courserenderer->course_section_cm_text($mod, $displayoptions);
}
$activitydetails->title .= $courserenderer->course_section_cm_text($mod, $displayoptions);
$activitydetails->title .= $mod->afterlink;
$activitydetails->modulename = $mod->modname;
$activitydetails->summary = $courserenderer->course_section_cm_text($mod, $displayoptions);
Expand Down
4 changes: 2 additions & 2 deletions classes/output/card_all_sections_summary_renderable.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ private function get_activities_details($section, $displayoptions = array()) {
);
$activitydetails->viewurl = $mod->url;
$activitydetails->title = $this->courserenderer->course_section_cm_name($mod, $displayoptions);
if (array_search($mod->modname, array('label', 'folder')) !== false) {
$activitydetails->title = $this->courserenderer->course_section_cm_text($mod, $displayoptions);
if (array_search($mod->modname, array('folder')) !== false) {
$activitydetails->title .= $this->courserenderer->course_section_cm_text($mod, $displayoptions);
}
$activitydetails->title .= $mod->afterlink;
$activitydetails->modulename = $mod->modname;
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ gulp.task('watch', function(done) {
});

gulp.task('clean', function() {
return del(['amd/build/*']);
return del(['./amd/build/*']);
});

gulp.task('default', gulp.series('clean', 'compress', 'sass', 'purge', 'watch'));
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ public function course_format_options($foreditform = false) {
'remuicourseimage_filemanager' => array(
'label' => new lang_string('remuicourseimage_filemanager', 'format_remuiformat'),
'element_type' => 'filemanager',
'element_attributes' => array(
'element_attributes' => [[], array(
'subdirs' => 0,
'maxfiles' => 1,
'accepted_types' => array('web_image')
),
)],
'help' => 'remuicourseimage_filemanager',
'help_component' => 'format_remuiformat',
),
Expand Down
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 = 2021080300; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.1.0';
$plugin->version = 2021090300; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.1.1';
$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 03d7293

Please sign in to comment.