Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ZNTA-2552-cookie-consent' into Z…
Browse files Browse the repository at this point in the history
…NTA-2552-cookie-consent
  • Loading branch information
Kathryn Gough committed May 20, 2018
2 parents e30988f + c211b74 commit 80f9577
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions server/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml
Expand Up @@ -14,6 +14,31 @@
<!--[if gt IE 8]><!-->
<html class="no-js new-zanata template">
<!--<![endif]-->
<!-- Provided by Copyright (c) 2015 Silktide Ltd under the MIT license -->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#eaf7f7",
"text": "#5c7291"
},
"button": {
"background": "transparent",
"text": "#03A6D7",
"border": "#56cbdb"
}
},
"content": {
"message": "The Zanata web application uses cookies to operate. For more information, please refer to",
"link": "our privacy policy",
"href": "http://docs.zanata.org/en/release/"
}
})});
</script>

<h:head>
<ui:remove>
<!-- This needs to appear before all other JavaScript, for accurate testing -->
Expand Down

0 comments on commit 80f9577

Please sign in to comment.