Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 6ac3b70a0e9100d58b6a850ef4b46ac00d11e52f
https://github.com/tribe29/checkmk/commit/6ac3b70a0e9100d58b6a850ef4b46ac00…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-17 (Fri, 17 Jul 2020)
Changed paths:
A .werks/11256
M cmk/gui/htmllib.py
Log Message:
-----------
11256 Extension API change: html.header and html.top_heading require breadcrumb
argument
This change is only relevant in case you have custom GUI extensions that
implement custom HTML pages.
In case you do this, it is likely that you use the <tt>html.header</tt> or
<tt>html.top_heading</tt> methods. Once upgrading to 1.7 you will have to
update your code to hand over a breadcrumb as second argument.
This can be done like this:
C+:
from cmk.gui.plugins.main_menu.mega_menus import (
make_simple_page_breadcrumb,
MegaMenuSetup,
)
title = "My custom page"
html.header(title, make_simple_page_breadcrumb(MegaMenuSetup, title))
C-:
For more examples have a look at our code and search for the keyword
breadcrumb.
Change-Id: I663e83bd38e3c68e92717874193e8824bda972e6
Commit: b592b9b27101c21166138c6c4cd5ca4cbc9ae5a0
https://github.com/tribe29/checkmk/commit/b592b9b27101c21166138c6c4cd5ca4cb…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-17 (Fri, 17 Jul 2020)
Changed paths:
M cmk/gui/plugins/wato/utils/html_elements.py
M cmk/gui/wato/page_handler.py
M cmk/gui/wato/pages/sites.py
M cmk/gui/wato/pages/tags.py
Log Message:
-----------
Enforce breadcrumb for wato_html_head
Change-Id: Ia99213f2c52719e1a78b4846465a8fb2b9690f83
Compare:
https://github.com/tribe29/checkmk/compare/e3c765af00fa...b592b9b27101