Add legal page (footer link) + wiki modal disclaimer link to general-orientation notice

This commit is contained in:
Kato
2026-09-08 17:14:56 +00:00
parent f0cf630fb6
commit 2102bfa8bd
4 changed files with 134 additions and 0 deletions
+3
View File
@@ -929,6 +929,9 @@ function openWikiModalSingle(item) {
if (dateStr) html += '<div class="wiki-modal-date">' + dateStr + '</div>';
html += '</div>';
html += '<div class="wiki-modal-text">' + sanitizeHtml(content) + '</div>';
html += '<div class="wiki-modal-note">' + (isDE()
? 'Diese Informationen dienen der <a href="legal.html" target="_blank" rel="noopener">allgemeinen Orientierung</a> und sind keine verbindliche Beratung.'
: 'This information serves for <a href="legal.html" target="_blank" rel="noopener">general orientation</a> only and is not binding advice.') + '</div>';
html += '</div>';
modalOverlay.innerHTML = html;
modalOverlay.classList.add('active');