Skip to content
Snippets Groups Projects
Commit 3e9989be authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Update compiled

parent aa3bd05c
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -676,7 +676,7 @@ function ebiFrameworkCreateDataProtectionBanner() {
wrapper.innerHTML = "" +
"<div class='columns medium-8 large-9'>" +
dataProtectionSettings.message +
" To find out more, see our <a target='_blank' href='" + dataProtectionSettings.link + "' class='white-color'>privacy policy</a>.</div>" +
"</div>" +
"<div class='columns medium-4 large-3 text-right white-color'><a id='data-protection-agree' class=''>I agree, dismiss this banner</a></div>" +
"";
......@@ -730,8 +730,7 @@ var dataProtectionSettings = new Object();
function ebiFrameworkRunDataProtectionBanner() {
try {
dataProtectionSettings.message = 'This website uses cookies. By continuing to browse this site, you are agreeing to the use of our site cookies. We also collect some information [text goes here, please review and agree]. ';
dataProtectionSettings.link = 'https://www.ebi.ac.uk/about/link-needed-to-data-protection';
dataProtectionSettings.message = 'This website requires cookies, and the limited processing of your personal data in order to function. By using the site you are agreeing to this as outlined in our <a target="_blank" href="https://www.ebi.ac.uk/data-protection/privacy-notice/embl-ebi-public-website" class="white-color">Privacy Notice</a> and <a target="_blank" href="https://www.ebi.ac.uk/about/terms-of-use" class="white-color">Terms of Use</a>.';
dataProtectionSettings.serviceId = 'ebi';
dataProtectionSettings.dataProtectionVersion = '1.0';
......@@ -741,9 +740,6 @@ function ebiFrameworkRunDataProtectionBanner() {
if (typeof divDataProtectionBanner.dataset.message !== "undefined") {
dataProtectionSettings.message = divDataProtectionBanner.dataset.message;
}
if (typeof divDataProtectionBanner.dataset.link !== "undefined") {
dataProtectionSettings.link = divDataProtectionBanner.dataset.link;
}
if (typeof divDataProtectionBanner.dataset.serviceId !== "undefined") {
dataProtectionSettings.serviceId = divDataProtectionBanner.dataset.serviceId;
}
......
This diff is collapsed.
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