Privacy notice in French
This commit is contained in:
parent
e7bd554a25
commit
8956561220
3 changed files with 13 additions and 5 deletions
|
@ -46,6 +46,7 @@ server {
|
||||||
|
|
||||||
# Disable English home page (for now)
|
# Disable English home page (for now)
|
||||||
location ^/en$ { return 301 $scheme://$host/de/; }
|
location ^/en$ { return 301 $scheme://$host/de/; }
|
||||||
|
location ^/privacy$ { return 301 $scheme://$host/de/privacy; }
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
@ -69,6 +69,7 @@ $(document).ready(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Cookie notice via insites.com
|
// Cookie notice via insites.com
|
||||||
|
var langbase = $('.language-nav a.active').text().toLowerCase();
|
||||||
window.cookieconsent.initialise({
|
window.cookieconsent.initialise({
|
||||||
"palette": {
|
"palette": {
|
||||||
"popup": {
|
"popup": {
|
||||||
|
@ -81,10 +82,16 @@ $(document).ready(function() {
|
||||||
},
|
},
|
||||||
"theme": "edgeless",
|
"theme": "edgeless",
|
||||||
"content": {
|
"content": {
|
||||||
"message": "Diese Website verwendet Cookies, um Ihnen eine optimale Nutzung unserer Website zu ermöglichen.",
|
"message": langbase == 'fr' ?
|
||||||
"dismiss": "Zustimmen",
|
"Ce site Web utilise des cookies pour vous permettre une utilisation optimale de notre site Web."
|
||||||
"link": "Weitere informationen",
|
: "Diese Website verwendet Cookies, um Ihnen eine optimale Nutzung unserer Website zu ermöglichen.",
|
||||||
"href": "/privacy/"
|
"dismiss": langbase == 'fr' ?
|
||||||
|
"D'accord"
|
||||||
|
: "Zustimmen",
|
||||||
|
"link": langbase == 'fr' ?
|
||||||
|
"Pour plus d'informations"
|
||||||
|
: "Weitere informationen",
|
||||||
|
"href": "/" + langbase + "/privacy/"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
© 2018 Public Health Schweiz
|
© 2018 Public Health Schweiz
|
||||||
• <a href="/privacy">Privacy Terms</a>
|
• <a href="/privacy/">Privacy Terms</a>
|
||||||
• Code by <a href="https://madewithwagtail.org/developers/dataletsch/" target="_blank">Datalets</a>
|
• Code by <a href="https://madewithwagtail.org/developers/dataletsch/" target="_blank">Datalets</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue