Commit 6f5dadef authored by dan.nepejchal's avatar dan.nepejchal
Browse files

gdpr popup

parent ea66f4ab
@charset "UTF-8";/*!
* Cookie Bar component (https://github.com/kovarp/jquery.cookieBar)
* Version 1.2.0
*
* Copyright 2018 Pavel Kovář - Frontend developer [www.pavelkovar.cz]
* Licensed under MIT (https://github.com/kovarp/jquery.cookieBar/blob/master/LICENSE)
*/.cookie-bar__inner{background-color:#000;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:.875rem;padding:.375rem .5rem;text-align:center}@media (min-width:62rem){.cookie-bar__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.cookie-bar__buttons{display:block;margin-top:.375rem}@media (min-width:62rem){.cookie-bar__buttons{display:inline;margin-top:0}}.cookie-bar__btn{background-color:#0275d8;color:#fff;border:none;margin:0 .875rem;padding:.125rem .875rem;-webkit-transition:background-color .3s;-o-transition:background-color .3s;transition:background-color .3s;cursor:pointer}.cookie-bar__btn:hover{background-color:#0267bf}.cookie-bar__btn:active{background-color:#0262b5}.cookie-bar__link{margin:0 .5rem}.cookie-bar a{color:#fff;text-decoration:underline}.cookie-bar a:hover{text-decoration:none}.cookie-bar-privacy-popup{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cookie-bar-privacy-popup.cookie-bar-privacy-popup--hidden{display:none}.cookie-bar-privacy-popup__dialog{background-color:#fff;width:100%;max-width:50rem;max-height:90vh;overflow:auto;padding:2rem 1.5rem 1.5rem;position:relative}.cookie-bar-privacy-popup__dialog__close{position:absolute;top:0;right:0;background-color:#000;color:#fff;display:block;width:2rem;height:2rem;border:none;cursor:pointer}.cookie-bar-privacy-popup__dialog__close:after,.cookie-bar-privacy-popup__dialog__close:before{content:'';display:block;width:1rem;height:.25rem;background-color:#fff;position:absolute;top:50%;left:25%;-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;margin-top:-.125rem}.cookie-bar-privacy-popup__dialog__close:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.cookie-bar-privacy-popup__dialog__close:after{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.cookie-bar-privacy-popup__dialog p:last-child{margin-bottom:0}.cookie-bar--bottom,.cookie-bar--bottom-left,.cookie-bar--bottom-right{z-index:100;position:fixed}.cookie-bar--bottom{right:0;bottom:0;left:0}.cookie-bar--bottom-left{left:.9375rem}.cookie-bar--bottom-right{right:.9375rem}.cookie-bar--bottom-left,.cookie-bar--bottom-right{bottom:.9375rem}@media (min-width:48rem){.cookie-bar--bottom-left,.cookie-bar--bottom-right{width:22.5rem}}@media (min-width:48rem){.cookie-bar--bottom-left .cookie-bar__buttons,.cookie-bar--bottom-left .cookie-bar__inner,.cookie-bar--bottom-right .cookie-bar__buttons,.cookie-bar--bottom-right .cookie-bar__inner{display:block}}@media (min-width:48rem){.cookie-bar--bottom-left .cookie-bar__buttons,.cookie-bar--bottom-right .cookie-bar__buttons{margin-top:.375rem}}.cookie-bar--bottom-left .cookie-bar__inner,.cookie-bar--bottom-right .cookie-bar__inner{line-height:1.3}
\ No newline at end of file
/*!
* Cookie Bar component (https://github.com/kovarp/jquery.cookieBar)
* Version 1.2.3
*
* Copyright 2019 Pavel Kovář - Frontend developer [www.pavelkovar.cz]
* @license: MIT (https://github.com/kovarp/jquery.cookieBar/blob/master/LICENSE)
*/
if("undefined"==typeof jQuery)throw new Error("Cookie Bar component requires jQuery");!function(t){var a,r,n=[];n.en={message:"We use cookies to provide our services. By using this website, you agree to this.",acceptText:"OK",infoText:"More information",privacyText:"Privacy protection"},n.de={message:"Zur Bereitstellung von Diensten verwenden wir Cookies. Durch die Nutzung dieser Website stimmen Sie zu.",acceptText:"OK",infoText:"Mehr Informationen",privacyText:"Datenschutz"},n.cs={message:"K poskytování služeb využíváme soubory cookie. Používáním tohoto webu s&nbsp;tím souhlasíte.",acceptText:"V pořádku",infoText:"Více informací",privacyText:"Ochrana soukromí"},n.sk={message:"Na poskytovanie služieb využívame súbory cookie. Používaním tohto webu s&nbsp;tým súhlasíte.",acceptText:"V poriadku",infoText:"Viac informácií",privacyText:"Ochrana súkromia"},n.ru={message:"Данный сайт использует для предоставления услуг, персонализации объявлений и анализа трафика печенье. Используя этот сайт, вы соглашаетесь.",acceptText:"Я согласен",infoText:"Больше информации",privacyText:"Конфиденциальность"},n.pl={message:"Używamy plików cookie w celu świadczenia naszych usług. Korzystając z tej strony, zgadzasz się na to.",acceptText:"Dobrze",infoText:"Więcej informacji",privacyText:"Ochrona prywatności"},n.es={message:"Este sitio web utiliza cookies para mejorar su experiencia. Si continúas navegando, consideraremos que aceptas su uso.",acceptText:"Aceptar",infoText:"Más información",privacyText:"Protección de datos"};var c={init:function(e){a="#cookie-bar";var o={infoLink:"https://www.google.com/policies/technologies/cookies/",infoTarget:"_blank",wrapper:"body",expireDays:365,style:"top",language:t("html").attr("lang")||"en",privacy:!1,privacyTarget:"_blank",privacyContent:null};r=t.extend(o,e),n[r.language]||(r.language="en"),"accepted"!==c.getCookie("cookies-state")&&c.displayBar(),t(document).on("click",a+" .cookie-bar__btn",function(e){e.preventDefault(),c.setCookie("cookies-state","accepted",r.expireDays),c.hideBar()}),t(document).on("click",'[data-toggle="cookieBarPrivacyPopup"]',function(e){e.preventDefault(),c.showPopup()}),t(document).on("click",".cookie-bar-privacy-popup, .cookie-bar-privacy-popup__dialog__close",function(e){c.hidePopup()}),t(document).on("click",".cookie-bar-privacy-popup__dialog",function(e){e.stopPropagation()})},displayBar:function(){t.trim(t(r.wrapper).html())||t(r.wrapper).empty();var e='<button type="button" class="cookie-bar__btn">'+n[r.language].acceptText+"</button>",o='<a href="'+r.infoLink+'" target="'+r.infoTarget+'" class="cookie-bar__link cookie-bar__link--cookies-info">'+n[r.language].infoText+"</a>",a="";r.privacy&&("link"===r.privacy?a='<a href="'+r.privacyContent+'" target="'+r.privacyTarget+'" class="cookie-bar__link cookie-bar__link--privacy-info">'+n[r.language].privacyText+"</a>":"bs_modal"===r.privacy?a='<a href="'+r.privacyContent+'" data-toggle="modal" class="cookie-bar__link cookie-bar__link--privacy-info">'+n[r.language].privacyText+"</a>":"popup"===r.privacy&&(c.renderPopup(),a='<a href="#" data-toggle="cookieBarPrivacyPopup" class="cookie-bar__link cookie-bar__link--privacy-info">'+n[r.language].privacyText+"</a>"));var i='<div id="cookie-bar" class="cookie-bar cookie-bar--'+r.style+'"><div class="cookie-bar__inner"><span class="cookie-bar__message">'+n[r.language].message+'</span><span class="cookie-bar__buttons">'+e+o+a+"</span></div></div>";t(r.wrapper).prepend(i),t("body").addClass("has-cookie-bar")},hideBar:function(){t(a).slideUp(),t("body").removeClass("has-cookie-bar")},renderPopup:function(){var e=t('<div id="cookieBarPrivacyPopup" class="cookie-bar-privacy-popup cookie-bar-privacy-popup--hidden"><div class="cookie-bar-privacy-popup__dialog"><button type="button" class="cookie-bar-privacy-popup__dialog__close"></button></div></div>');t("body").append(e),t(".cookie-bar-privacy-popup__dialog",e).append(r.privacyContent)},showPopup:function(){t("#cookieBarPrivacyPopup").removeClass("cookie-bar-privacy-popup--hidden")},hidePopup:function(){t("#cookieBarPrivacyPopup").addClass("cookie-bar-privacy-popup--hidden")},addTranslation:function(e,o){n[e]=o},switchTranslation:function(e){e===r.language||r.privacy||(n[e]?r.language=e:r.language="en","accepted"!==c.getCookie("cookies-state")&&c.displayBar())},setCookie:function(e,o,a){var i=new Date;i.setTime(i.getTime()+24*a*60*60*1e3);var t="expires="+i.toUTCString();document.cookie=e+"="+o+";"+t+";path=/"},getCookie:function(e){for(var o=e+"=",a=document.cookie.split(";"),i=0;i<a.length;i++){for(var t=a[i];" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(o))return t.substring(o.length,t.length)}return""}};t.cookieBar=function(e){return c[e]?c[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on Cookie Bar component"):c.init.apply(this,arguments)}}(jQuery);
\ No newline at end of file
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
};
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
......
_model: gdpr
---
title: Zásady ochrany osobních údajů
---
body:
##1 - O nás
Pro správě našich dat používáme Matomo – open source webovou analytickou platformu. Vlastník webu
používá webovou analytickou platformu k měření, shromažďování, analýze a hlášení údajů o
návštěvnících za účelem porozumění a optimalizace webových stránek. Pokud chcete vidět, jak Matomo
vypadá, můžete si vyzkoušet demo verzi na adrese: [https://demo.matomo.org](https://demo.matomo.org)
**[Identifikace správce osobních údajů a kontaktní údaje](https://european-pirateparty.eu/contact-press/)**
##2 - Účel zpracování
Matomo se používá k analýze chování návštěvníků webových stránek a k identifikaci potenciálních
nástrah – not found pages, problémy s indexováním vyhledávače, návštěvnost obsahu… Jakmile jsou data
zpracována, Matomo generuje zprávy pro majitele webových stránek, aby se podle toho zařídili, což
vede například ke změně rozvržení stránek, publikování čerstvého obsahu atd.
Matomo zpracovává následující osobní údaje:
* Cookies
* Část IP adresy
* Umístění uživatele
* Datum a čas
* Název zobrazené stránky
* URL zobrazené stránky
* URL stránky, která byla zobrazena před aktuální stránkou
* Rozlišení obrazovky
* Čas v místním časovém pásmu
* Soubory, na které jste kliknuli a které jste stáhnuli
* Prokliky na vnější doménu
* Čas načtení stránky
* Země, region, město
* Hlavní jazyk prohlížeče
* Typ prohlížeče
Zpracování osobních údajů se společností Matomo je založeno na oprávněných zájmech.
##3 - Oprávněné zájmy
Zpracování vašich osobních údajů, jako jsou soubory cookies, nám pomáhá zjistit, co funguje a co
chybí na našich webových stránkách. Například identifikujeme, zda způsoby naší komunikace jsou
srozumitelné, či nikoli a jak můžeme lépe uspořádat strukturu webu. Náš tým využívá zpracování
vašich návštěvnických údajů a poté webové stránky přizpůsobuje co nejpohodlnější návštěvě. Ze
zpracování vašich údajů profitujete také vy, jelikož web je díky nim stále lepší a lepší.
Bez návštěvnických údajů bychom vám nebyli schopni poskytnout službu, kterou pro vás v současné době
nabízíme. Vaše data budou použita pouze ke zlepšení uživatelského dojmu na našem webu.
##4 - Příjemce osobních údajů
Osobní údaje přijaté prostřednictvím Matomo jsou zasílány:
**[majiteli tohoto webu](https://european-pirateparty.eu/contact-press/)**
**Poskytovateli webhostingu**
Swissmade Mürtschenstrasse 30,<br>
CH-8048 Curych<br>
Švýcarsko<br>
##5 - Podrobnosti o převodech do třetích zemí a zárukách
Data Matomo jsou hostována ve Švýcarsku v rámci společnosti Swissmade a za pomoci švýcarského
federálního zákona o ochraně údajů.
##6 - Retenční období
Vaše osobní údaje uchováváme tak dlouho, jak je to nutné pro účely, pro který byly shromážděny, a
pro dodržení našich právních a regulačních požadavků. To zahrnuje uchování vašich informací po
přiměřenou dobu po vaší návštěvě webu. (max. 36 měsíců)
##7 - Existence práv každého subjektu údajů
Protože Matomo zpracovává osobní údaje kvůli oprávněným zájmům, můžete uplatnit následující práva:
**Právo na přístup:** můžete nás kdykoli požádat o přístup k vašim osobním údajům.
**Právo na smazání:** můžete nás kdykoli požádat o smazání všech osobních údajů, které o vás
zpracováváme.
**Právo na akci:** proti sledování osobních údajů se můžete ohradit pomocí následující funkce odhlášení:
<iframe style = "border: 1px solid black; width: 100%;" src = "https://matomo.european-pirateparty.eu/index.php?module=CoreAdminHome&action=optOut&language=cs&backgroundColor=&fontColor=&fontSize=15px&fontFamily="> </iframe>
##8 - Právo podat stížnost orgánu dozoru
Pokud si myslíte, že způsob, jakým zpracováváme vaše osobní údaje pomocí služby Matomo analytics, je
v rozporu se zákonem, máte právo podat stížnost orgánu dozoru.
##9 - Existence automatizovaného rozhodování, včetně profilování a informací o způsobu rozhodování, významu a důsledcích
Matomo neprovádí žádné profilování.
_model: gdpr
---
title: Privacy Policy
---
body:
##1 – About us
To maintain our data we use Matomo – an open source web analytics platform. A web analytics platform
is used by a website owner in order to measure, collect, analyse and report visitors data for
purposes of understanding and optimizing their website. If you would like to see what Matomo looks
like, you can access a demo version at: [https://demo.matomo.org](https://demo.matomo.org)
**[Personal data administrator identification and contact details:](https://european-pirateparty.eu/contact-press/)**
##2 – Purpose of the processing
Matomo is used to analyse the behaviour of the website visitors to identify potential pitfalls; not
found pages, search engine indexing issues, which contents are the most appreciated… Once the data
is processed (number of visitors reaching a not found pages, viewing only one page…), Matomo is
generating reports for website owners to take action, for example changing the layout of the pages,
publishing some fresh content… etc.
Matomo is processing the following personal data:
* Cookies
* part of IP address
* Location of the user
* Date and time
* Title of the page being viewed
* URL of the page being viewed
* URL of the page that was viewed prior to the current page
* Screen resolution
* Time in local timezone
* Files that were clicked and downloaded
* Link clicks to an outside domain
* Pages generation time
* Country, region, city
* Main Language of the browser
* User Agent of the browser
The processing of personal data with Matomo is based on legitimate interests.
##3 – The legitimate interests
Processing your personal data such as cookies is helping us identify what is working and what is not
on our website. For example, it helps us identify if the way we are communicating is engaging or not
and how we can organize the structure of the website better. Our team is benefiting from the
processing of your personal data, and they are directly acting on the website. By processing your
personal data, you can profit from a website which is getting better and better.
Without the data, we would not be able to provide you the service we are currently offering to you.
Your data will be used only to improve the user experience on our website and help you find the
information you are looking for.
##4 – Recipient of the personal data
The personal data received through Matomo are sent to:
**[Owner of this website](https://european-pirateparty.eu/contact-press/)**
**our web hosting provider:**
Swissmade Mürtschenstrasse 30,<br>
CH-8048 Curych<br>
Švýcarsko<br>
##5 – Details of transfers to third country and safeguards
Matomo data is hosted in the Switzerland within company Swissmade by Swiss Federal Act on Data
Protection.
##6 – Retention period or criteria used to determine the retention period
We keep your personal information for as long as necessary for the purpose it was collected, and to
comply with our legal and regulatory requirements. This includes keeping your information for a
reasonable period of time after your relationship with us. (36 months maximum)
##7 - Existence práv každého subjektu údajů
As Matomo is processing personal data on legitimate interests, you can exercise the following
rights:
**Right of access:** you can ask us at any time to access your personal data.
**Right to erasure** you can ask us at any time to delete all the personal data we are processing
about you.
**Right to object:** you can object to the tracking of your personal data by using the following
opt-out feature:
<iframe style = "border: 1px solid black; width: 100%;" src =
"https://matomo.european-pirateparty.eu/index.php?module=CoreAdminHome&action=optOut&language=en&backgroundColor=&fontColor=&fontSize=15px&fontFamily="> </iframe>
##8 – The right to lodge a complaint with a supervisory authority
If you think that the way we process your personal data with Matomo analytics is infringing the law,
you have the right to lodge a complaint with a supervisory authority.
##9 – The existence of automated decision-making, including profiling and information about how decisions are made, the significance and the consequences
Matomo is not doing any profiling.
_model: gdpr
---
title: Privacy Policy
---
body:
##1 – About us
To maintain our data we use Matomo – an open source web analytics platform. A web analytics platform
is used by a website owner in order to measure, collect, analyse and report visitors data for
purposes of understanding and optimizing their website. If you would like to see what Matomo looks
like, you can access a demo version at: [https://demo.matomo.org](https://demo.matomo.org)
**[Personal data administrator identification and contact details:](https://european-pirateparty.eu/contact-press/)**
##2 – Purpose of the processing
Matomo is used to analyse the behaviour of the website visitors to identify potential pitfalls; not
found pages, search engine indexing issues, which contents are the most appreciated… Once the data
is processed (number of visitors reaching a not found pages, viewing only one page…), Matomo is
generating reports for website owners to take action, for example changing the layout of the pages,
publishing some fresh content… etc.
Matomo is processing the following personal data:
* Cookies
* part of IP address
* Location of the user
* Date and time
* Title of the page being viewed
* URL of the page being viewed
* URL of the page that was viewed prior to the current page
* Screen resolution
* Time in local timezone
* Files that were clicked and downloaded
* Link clicks to an outside domain
* Pages generation time
* Country, region, city
* Main Language of the browser
* User Agent of the browser
The processing of personal data with Matomo is based on legitimate interests.
##3 – The legitimate interests
Processing your personal data such as cookies is helping us identify what is working and what is not
on our website. For example, it helps us identify if the way we are communicating is engaging or not
and how we can organize the structure of the website better. Our team is benefiting from the
processing of your personal data, and they are directly acting on the website. By processing your
personal data, you can profit from a website which is getting better and better.
Without the data, we would not be able to provide you the service we are currently offering to you.
Your data will be used only to improve the user experience on our website and help you find the
information you are looking for.
##4 – Recipient of the personal data
The personal data received through Matomo are sent to:
**[Owner of this website](https://european-pirateparty.eu/contact-press/)**
**our web hosting provider:**
Swissmade Mürtschenstrasse 30,<br>
CH-8048 Curych<br>
Švýcarsko<br>
##5 – Details of transfers to third country and safeguards
Matomo data is hosted in the Switzerland within company Swissmade by Swiss Federal Act on Data
Protection.
##6 – Retention period or criteria used to determine the retention period
We keep your personal information for as long as necessary for the purpose it was collected, and to
comply with our legal and regulatory requirements. This includes keeping your information for a
reasonable period of time after your relationship with us. (36 months maximum)
##7 - Existence práv každého subjektu údajů
As Matomo is processing personal data on legitimate interests, you can exercise the following
rights:
**Right of access:** you can ask us at any time to access your personal data.
**Right to erasure** you can ask us at any time to delete all the personal data we are processing
about you.
**Right to object:** you can object to the tracking of your personal data by using the following
opt-out feature:
<iframe style = "border: 1px solid black; width: 100%;" src =
"https://matomo.european-pirateparty.eu/index.php?module=CoreAdminHome&action=optOut&language=en&backgroundColor=&fontColor=&fontSize=15px&fontFamily="> </iframe>
##8 – The right to lodge a complaint with a supervisory authority
If you think that the way we process your personal data with Matomo analytics is infringing the law,
you have the right to lodge a complaint with a supervisory authority.
##9 – The existence of automated decision-making, including profiling and information about how decisions are made, the significance and the consequences
Matomo is not doing any profiling.
[cs]
message=Tento web používá nástroj Matomo k analýze provozu a pomáhá nám vylepšovat uživatelské prostředí. Zpracováváme vaše cookies, které jsou uloženy ve vašem prohlížeči po dobu 13 měsíců. Tato data zpracováváme pouze my a naše webhostingová platforma. Další informace naleznete v našich zásadách ochrany osobních údajů.
infoText=Zásady ochrany osobních údajů
infoLink=/gdpr/
[en]
message=This site uses Matomo to analyze traffic and help us to improve your user experience. We process part of you IP address and your cookies, they are stored on your browser for 13 months. These data are only processed by us and our web hosting platform. Please read our Privacy Policy to learn more.
infoText=Privacy Policy
infoLink=/en/gdpr/
[ge]
message=This site uses Matomo to analyze traffic and help us to improve your user experience. We process part of you IP address and your cookies, they are stored on your browser for 13 months. These data are only processed by us and our web hosting platform. Please read our Privacy Policy to learn more.
infoText=Privacy Policy
infoLink=/ge/gdpr/
[model]
name = GDPR
label = {{ this.title }}
hidden = yes
[fields.title]
label = Title
type = string
size = large
[fields.body]
label = Body
type = markdown
{% extends "header.html" %}
{% block page_content %}
{% include "navigate.html" %}
{% include "banner.html" %}
<div class="page">
<div class="row" id="content">
{% block body %}
<div class="row">
<div class="small-8 medium-8 columns">
<p class="post__excerpt content-block">
<meta itemprop="datePublished" content="{{ this.pub_date }}" />
<i>{{ this.pub_date }}</i>
</p>
<div id="content" class="post__content content-block">
<b>{{ this.description }}</b>
{{ this.body }}
</div>
</div>
{% endblock %}
{% include "twitter.html" %}
</div>
</div>
{% include "footer.html" %}
{% endblock %}
......@@ -28,8 +28,14 @@
<link rel="stylesheet" type="text/css" href="/static/css/dropdown.css" />
<link rel="stylesheet" type="text/css" href="/font-awesome-4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/static/css/custom-modifications.css" />
<link rel="stylesheet" href="/static/css/jquery.cookieBar.min.css">
<link rel="alternate" type="application/atom+xml" href="/feed.xml" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/jquery.cookieBar.min.js"></script>
<script type="text/javascript" src="/static/js/menu.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/share_buttons.css" />
</head>
{% block page_content %}
......
......@@ -39,6 +39,39 @@
<!-- <noscript><p><img src="https://matomo.european-pirateparty.eu/matomo.php?idsite=2&rec=1" -->
<!-- style="border:0;" alt="" /></p></noscript> -->
<!-- <!-1- End Matomo Code -1-> -->
<script>
$(document).ready(function () {
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
$(function() {
$.cookieBar('addTranslation', '{{this.alt}}', {
message: "{{ bag('gdpr', this.alt, 'message') }}",
acceptText: 'OK',
infoText: "{{ bag('gdpr', this.alt, 'infoText') }}",
});
if (getCookie('cookies-state') !== 'accepted'){
$.cookieBar({
style: 'bottom-right',
language: '{{this.alt}}',
infoLink: "{{ bag('gdpr', this.alt, 'infoLink') }}",
});
}
});
});
</script>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/cs_CZ/sdk.js#xfbml=1&version=v6.0"></script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment