debian-mirror-gitlab/app/views/layouts/_bizible.html.haml
2023-04-23 21:23:45 +05:30

13 lines
482 B
Text

- if bizible_enabled?(@invite_email)
<!-- Bizible -->
= javascript_tag nonce: content_security_policy_nonce do
:plain
const bizibleScript = document.createElement('script');
bizibleScript.src = 'https://cdn.bizible.com/scripts/bizible.js';
bizibleScript.nonce = '#{content_security_policy_nonce}'
bizibleScript.charset = 'UTF-8';
bizibleScript.defer = true;
document.head.appendChild(bizibleScript);
function OptanonWrapper() { }