12955-add-terms-link-footer #11
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ def menuitems_children(parent, context=None):
|
||||||
if context:
|
if context:
|
||||||
request = context['request']
|
request = context['request']
|
||||||
site = Site.find_for_request(request)
|
site = Site.find_for_request(request)
|
||||||
if site in ['sphc.ch', 'public-health.ch']:
|
if site.hostname in ['sphc.ch', 'public-health.ch']:
|
||||||
print("site is %s, add terms and conditions to footer" % site.hostname)
|
print("site is %s, add terms and conditions to footer" % site.hostname)
|
||||||
# custom page here is the terms and conditions page for public-health.ch and sphc.ch (common)
|
# custom page here is the terms and conditions page for public-health.ch and sphc.ch (common)
|
||||||
custom_page_id = 994
|
custom_page_id = 994
|
||||||
|
|
Loading…
Reference in a new issue