Commit d4590c8d authored by  JosephK's avatar JosephK

[vox] docs links

parent 275c6c90
Pipeline #124223 passed with stage
in 2 minutes and 43 seconds
......@@ -135,11 +135,17 @@ export default {
setInterval(() => {
if (/vox.org\/dashboard$/.test(window.location.href)
&& !!document.querySelector('.lmo-navbar .navbar__sign-in')) {
&& !!document.querySelector('.lmo-navbar .navbar__sign-in')) {
document.body.classList.add('logged-out');
} else {
document.body.classList.remove('logged-out');
}
document
.querySelectorAll('a[href*="help.loomio.org"]')
.forEach(a => Object.assign(a, {
href: `https://docs.framasoft.org/${/^fr/.test(this.$i18n.locale) ? 'fr' : 'en'}/loomio/`
}));
}, 1000);
},
data() {
......
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