diff --git a/rowsandall_app/settings.py b/rowsandall_app/settings.py index c2a90e49..c62a27bb 100644 --- a/rowsandall_app/settings.py +++ b/rowsandall_app/settings.py @@ -29,7 +29,8 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'z_@2yia858=2i1cygo4ne3+14&i_&@wlty68$q1igdvn=9k5mo' +SECRET_KEY = CFG['secret_key'] + # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False @@ -104,7 +105,6 @@ TEMPLATES = [ 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', - 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', diff --git a/static/cookielaw/banner.html b/static/cookielaw/banner.html new file mode 100644 index 00000000..e9695a3f --- /dev/null +++ b/static/cookielaw/banner.html @@ -0,0 +1,11 @@ +{% load i18n %} + +
+
+
{% trans "COOKIE_INFO_HEADER" %}
+

+ {% trans "COOKIE_INFO_OK" %} + {% trans "COOKIE_INFO_PARA" %} +

+
+
diff --git a/static/cookielaw/css/cookielaw.css b/static/cookielaw/css/cookielaw.css index 5e76378e..0795ae89 100644 --- a/static/cookielaw/css/cookielaw.css +++ b/static/cookielaw/css/cookielaw.css @@ -8,7 +8,7 @@ } #CookielawBanner #CookielawCross { - background: url('../img/close.png') no-repeat 0 0; + background: url('/static/img/close.png') no-repeat 0 0; cursor: pointer; display: block; position: absolute; diff --git a/static/img/close.png b/static/img/close.png new file mode 100644 index 00000000..839576e6 Binary files /dev/null and b/static/img/close.png differ