added: link to web calendar as parameter

This commit is contained in:
quenousimporte 2024-01-23 10:53:43 +01:00
parent cd7e69ee19
commit 4f088d274a
1 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,13 @@ function showresult()
var html = "<h1>Evénements à venir</h1>"; var html = "<h1>Evénements à venir</h1>";
html += "<div>En gras: modifié les " + recent + " derniers jours</div>"; html += "<div>En gras: modifié les " + recent + " derniers jours</div>";
var weblink = params.get("weblink");
if (weblink)
{
html += `<div><a target="_blank" href="${weblink}">Lien vers calendrier web</a></div>`;
}
var o = ics2json(xhr.responseText); var o = ics2json(xhr.responseText);
var lastmodified = new Date(); var lastmodified = new Date();