forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-75610 theme: Allow the activity title in Boost theme's secure layout
- Loading branch information
1 parent
3af9e0c
commit 9b4f85c
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
issueNumber: MDL-75610 | ||
notes: | ||
core: | ||
- message: > | ||
`\core\output\activity_header` now uses the `is_title_allowed()` method | ||
when setting the title in the constructor. | ||
This method has been improved to give priority to the 'notitle' option | ||
in the theme config for the current page layout, over the top-level | ||
option in the theme. | ||
For example, the Boost theme sets | ||
`$THEME->activityheaderconfig['notitle'] = true;` by default, but in its | ||
`secure` pagelayout, it has `'notitle' = false`. | ||
This prevents display of the title in all layouts except `secure`. | ||
type: improved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters