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)
|
||||
location ^/en$ { return 301 $scheme://$host/de/; }
|
||||
location ^/privacy$ { return 301 $scheme://$host/de/privacy; }
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
@ -69,6 +69,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// Cookie notice via insites.com
|
||||
var langbase = $('.language-nav a.active').text().toLowerCase();
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
|
@ -81,10 +82,16 @@ $(document).ready(function() {
|
|||
},
|
||||
"theme": "edgeless",
|
||||
"content": {
|
||||
"message": "Diese Website verwendet Cookies, um Ihnen eine optimale Nutzung unserer Website zu ermöglichen.",
|
||||
"dismiss": "Zustimmen",
|
||||
"link": "Weitere informationen",
|
||||
"href": "/privacy/"
|
||||
"message": langbase == 'fr' ?
|
||||
"Ce site Web utilise des cookies pour vous permettre une utilisation optimale de notre site Web."
|
||||
: "Diese Website verwendet Cookies, um Ihnen eine optimale Nutzung unserer Website zu ermöglichen.",
|
||||
"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">
|
||||
© 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>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue