Commit a41fc6ae authored by Johannes Winter's avatar Johannes Winter

cnsntbannr i18n

parent cdf82363
......@@ -12,26 +12,15 @@
@clicked-accept="accept"
@clicked-decline="decline">
<!-- Optional -->
<div slot="postponeContent">
&times;
</div>
<!-- Optional -->
<div slot="message">
This site uses the free software <a target="_blank" href="https://matomo.org">Matomo</a> to analyze traffic and help us to improve your user experience.<br>We process your email address and IP address and cookies are stored on your browser for 13 months. This data is only processed by us and our web hosting platform.<br>
For further information, please review our <a target="_blank" href="https://solidbase.info/legal/imprint/">imprint</a>.
By clicking Accept, you agree to our use of Matomo.
</div>
<!-- Optional -->
<div slot="message" v-html="$t('banner-msg')"/>
<div slot="declineContent">
Don't count me!
{{ $t('cancel')}}
</div>
<!-- Optional -->
<div slot="acceptContent">
Accept!
OK
</div>
</consent-banner>
</template>
......@@ -67,11 +56,11 @@ export default {
},
'accept': function() {
_paq.push(['rememberConsentGiven', this.cookieDuration*24]);
this.$matomo.rememberConsentGiven(this.cookieDuration*24)
},
'decline': function() {
_paq.push(['forgetConsentGiven']);
this.$matomo.forgetConsentGiven()
},
'consent': function () {
......@@ -92,14 +81,6 @@ export default {
this.$refs.cnsntbnnr.init()
}
}
break
case 'postpone': {
}
break
default: {
}
}
}
......
Subproject commit 2dfb9b24c00dfc08d6a3ffc1aa86b38ca8b058d9
Subproject commit 4db17512e132e38e2b03ac5e608d1ca3ef3a32b3
Markdown is supported
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