Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
337f97ad
Commit
337f97ad
authored
5 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Adjusted function full_header() in core_renderer.php due to upstream changes in theme Boost.
parent
9d0675a6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
classes/output/core_renderer.php
+12
-0
12 additions, 0 deletions
classes/output/core_renderer.php
with
13 additions
and
0 deletions
CHANGES.md
+
1
−
0
View file @
337f97ad
...
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
*
2020-03-05 - Adjusted function full_header() in core_renderer.php due to upstream changes in theme Boost.
*
2020-03-05 - Removed SCSS rule to wrap words in cards as it has been fixed in theme Boost.
*
2020-03-05 - Adjusted login.mustache template due to upstream changes in theme Boost.
*
2020-03-05 - Adjusted columns2.mustache template due to upstream changes in theme Boost.
...
...
This diff is collapsed.
Click to expand it.
classes/output/core_renderer.php
+
12
−
0
View file @
337f97ad
...
...
@@ -152,6 +152,17 @@ class core_renderer extends \core_renderer {
global
$PAGE
,
$USER
,
$COURSE
,
$CFG
;
// MODIFICATION END.
if
(
$PAGE
->
include_region_main_settings_in_header_actions
()
&&
!
$PAGE
->
blocks
->
is_block_present
(
'settings'
))
{
// Only include the region main settings if the page has requested it and it doesn't already have
// the settings block on it. The region main settings are included in the settings block and
// duplicating the content causes behat failures.
$PAGE
->
add_header_action
(
html_writer
::
div
(
$this
->
region_main_settings_menu
(),
'd-print-none'
,
[
'id'
=>
'region-main-settings-menu'
]
));
}
$header
=
new
stdClass
();
// MODIFICATION START.
// Show the context header settings menu on all pages except for the profile page as we replace
...
...
@@ -194,6 +205,7 @@ class core_renderer extends \core_renderer {
$header->pageheadingbutton = $this->page_heading_button();
ORIGINAL END. */
$header
->
courseheader
=
$this
->
course_header
();
$header
->
headeractions
=
$PAGE
->
get_header_actions
();
// MODIFICATION START:
// Change this to add the result in the html variable to be able to add further features below the header.
// Render from the own header template.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment