Skip to content
Snippets Groups Projects
Unverified Commit 3085c14c authored by Xaver Maierhofer's avatar Xaver Maierhofer
Browse files

[TASK] Add posibility for links DSGVO

parent 100cf626
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,16 @@ module.exports = function () {
'site': 'ffrgb',
'name': 'Regensburg'
}
],
'linkList': [
{
'title': 'Impressum',
'href': '/verein/impressum/'
},
{
'title': 'Datenschutz',
'href': '/verein/datenschutz/'
}
]
};
};
......
......@@ -36,6 +36,17 @@ define(['helper'], function (helper) {
p.appendChild(stats);
p.appendChild(document.createElement('br'));
p.appendChild(timestamp);
if (config.linkList) {
p.appendChild(document.createElement('br'));
config.linkList.forEach(function (link) {
var a = document.createElement('a');
a.innerText = link.title;
a.href = link.href;
p.appendChild(a);
});
}
el.appendChild(p);
};
......
......@@ -17,6 +17,10 @@ header {
}
.legend {
a {
margin-right: 10px;
}
span {
&:not(:first-child) {
margin-left: 1em;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment