Cookie consent page loaded from navigation template instead of footer template.

Following the commit ae9c686912, we can see the cookie consent template was loaded from footer template.
The login and registration templates do not load footer, so the cookie consent template is not being loader either.
With this fix, the cookie consent template is being loaded from navigation template, so it is shown in login and registration pages as well.
This commit is contained in:
mrey
2017-05-30 16:58:05 +02:00
parent aaad66d3f8
commit 86852206bc

View File

@@ -140,6 +140,3 @@
<link rel="stylesheet" type="text/css" href="${url}"></link>
% endfor
% endif
% if settings.FEATURES.get('ENABLE_COOKIE_CONSENT', False):
<%include file="widgets/cookie-consent.html" />
% endif