Bugfix: Limit glasfaser menu to Glasfaser template only
This commit is contained in:
parent
cfc289d09d
commit
e807ad7834
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class GlasfaserMenu(CMSAttachMenu):
|
||||||
|
|
||||||
def get_nodes(self, request):
|
def get_nodes(self, request):
|
||||||
nodes = []
|
nodes = []
|
||||||
if request and request.current_page:
|
if request and request.current_page.get_template() == 'glasfaser':
|
||||||
template_context = {
|
template_context = {
|
||||||
"request": request,
|
"request": request,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue