Bugfix: Limit glasfaser menu to Glasfaser template only

This commit is contained in:
M.Ravi 2017-10-20 12:12:13 +02:00
parent cfc289d09d
commit e807ad7834

View file

@ -12,7 +12,7 @@ class GlasfaserMenu(CMSAttachMenu):
def get_nodes(self, request):
nodes = []
if request and request.current_page:
if request and request.current_page.get_template() == 'glasfaser':
template_context = {
"request": request,
}