Use correct glasfaser template name

This commit is contained in:
M.Ravi 2017-10-20 12:31:12 +02:00
parent e807ad7834
commit 725606ff98

View file

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