Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ deploy-website-development:
ENVIRONMENT_NAME: staging
WEBSITE_DEPLOY_ENVIRONMENT: stage
script:
- rsync -av -q -e "ssh -o PubKeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-dss -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" build/${ARTIFACT_NAME}/* ${WEBSITE_DEPLOY_USER}@${WEBSITE_DEPLOY_NODE_STAGING_MAIN}:${WEBSITE_DEPLOY_PATH}/${WEBSITE_DEPLOY_ENVIRONMENT}/www/
# - rsync -av -q -e "ssh -o PubKeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-dss -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" build/${ARTIFACT_NAME}/* ${WEBSITE_DEPLOY_USER}@${WEBSITE_DEPLOY_NODE_STAGING_MAIN}:${WEBSITE_DEPLOY_PATH}/${WEBSITE_DEPLOY_ENVIRONMENT}/www/
- rsync -av -q -e "ssh -o PubKeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-dss -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" build/${ARTIFACT_NAME}/* ${WEBSITE_DEPLOY_USER}@${WEBSITE_DEPLOY_NODE_STAGING_FALLBACK}:${WEBSITE_DEPLOY_PATH}/${WEBSITE_DEPLOY_ENVIRONMENT}/www/
only:
- master
Expand Down
2 changes: 2 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,8 @@ <h6>Reporting</h6>
<!-- /build -->
<!-- build:script ebi_framework -->
<script src="../lib/EBI-Framework/js/cookiebanner.js"></script>
<!--Cookie banner override-->
<script type="text/javascript" src="js/cookie-banner-override.js"></script>
<script src="../lib/EBI-Framework/js/script.js"></script>
<!--Footer overwrite-->
<script type="text/javascript" src="js/footer/footer.js"></script>
Expand Down
13 changes: 13 additions & 0 deletions src/js/cookie-banner-override.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(function overrideCookieBanner() {
function init() {
var link = document.querySelector('#cookie-banner .text a');
if (!link) {
setTimeout(init, 100);
return;
}
link.href = 'files/Privacy_Notice_The_European_Variation_Archive.pdf';
link.textContent = 'Privacy Notice';
link.target = '_blank';
}
init();
})();
Loading