Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
b35d4d8e
Commit
b35d4d8e
authored
Mar 25, 2020
by
bas
Browse files
MDL-68250 mod_book: make book navigation separation
Make the book navigation more distinguishable from activity navigation
parent
f2fc4a9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/book/view.php
View file @
b35d4d8e
...
...
@@ -222,7 +222,7 @@ $navclasses = book_get_nav_classes();
if
(
$book
->
navstyle
)
{
// Upper navigation.
echo
'<div class="navtop clearfix '
.
$navclasses
[
$book
->
navstyle
]
.
'">'
.
$chnavigation
.
'</div>'
;
echo
'<div class="navtop
border-top py-3
clearfix '
.
$navclasses
[
$book
->
navstyle
]
.
'">'
.
$chnavigation
.
'</div>'
;
}
// The chapter itself.
...
...
@@ -251,7 +251,7 @@ if (core_tag_tag::is_enabled('mod_book', 'book_chapters')) {
if
(
$book
->
navstyle
)
{
// Lower navigation.
echo
'<div class="navbottom clearfix '
.
$navclasses
[
$book
->
navstyle
]
.
'">'
.
$chnavigation
.
'</div>'
;
echo
'<div class="navbottom
py-3 border-bottom
clearfix '
.
$navclasses
[
$book
->
navstyle
]
.
'">'
.
$chnavigation
.
'</div>'
;
}
echo
$OUTPUT
->
footer
();
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment