Skip to content

Commit

Permalink
Merge branch 'MDL-75844-master' of https://github.com/NashTechOpenUni…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 7, 2022
2 parents cc4fec2 + 94c2a52 commit fa41cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/pagelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1937,6 +1937,7 @@ protected function initialise_standard_body_classes() {

if (!empty($this->_cm)) {
$this->add_body_class('cmid-' . $this->_cm->id);
$this->add_body_class('cm-type-' . $this->_cm->modname);
}

if (!empty($CFG->allowcategorythemes)) {
Expand Down
1 change: 1 addition & 0 deletions theme/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ information provided here is intended especially for theme designer.
* The function core_course_renderer::course_modchooser() has been finally deprecated and can not be used anymore.
Please use core_course_renderer::course_activitychooser() instead.
* $OUTPUT->favicon() now returns the URL of the configurable favicon if present.
* The body tag include a class with module name specific for each activity E.g.: cm-type-page

=== 4.0 ===
* A new theme config 'removedprimarynavitems' allows a theme to customise primary navigation by specifying the list of items to remove.
Expand Down

0 comments on commit fa41cb8

Please sign in to comment.