Sha256: 0789df291d7ed54a60aedab69773221eb845af72aedaa7b725d0fc303b8847b2

Contents?: true

Size: 692 Bytes

Versions: 7

Compression:

Stored size: 692 Bytes

Contents

- if Workarea.config.trustpilot_key.present?
  / TrustBox script
  %script{:async => "", :src => "//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js", :type => "text/javascript"}
  #tp-snippet
    :javascript
      (function(w,d,s,r,n){
        w.TrustpilotObject=n;
        w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)};
        a=d.createElement(s);
        a.async=1;
        a.src=r;
        a.type='text/java'+s;
        f=d.getElementsByTagName(s)[0];
        f.parentNode.insertBefore(a,f)}
      )(window,document,'script', 'https://invitejs.trustpilot.com/tp.min.js', 'tp');
      tp('register', "#{Workarea.config.trustpilot_key}");
  / End TrustBox script

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
workarea-trustpilot_reviews-1.1.1 app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.1.0 app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.0.5.pre app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.0.4.pre app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.0.3.pre app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.0.2.pre app/views/workarea/storefront/_trustpilot_script.html.haml
workarea-trustpilot_reviews-1.0.0.pre app/views/workarea/storefront/_trustpilot_script.html.haml