addtocalendar

This commit is contained in:
Lucie Galland 2021-10-13 17:55:26 +02:00
parent 0d443407a7
commit 2a33ba5cd1

View file

@ -244,11 +244,11 @@ tmpend.setHours(tmpend.getHours() +2)
endDate = tmpend.toString(); endDate = tmpend.toString();
{% endif %} {% endif %}
var singleEventArgs = { var singleEventArgs = {
title : '{{ event.nom }}', title : '{{ event.nom.text}}',
start : startDate, start : startDate,
end : endDate, end : endDate,
location : '{{ event.lieu}}', location : '{{ event.lieu}}',
description : '{% autotranslate current_language event.desc_users event.desc_users_en %}' description : '{% autotranslate current_language event.desc_users.text event.desc_users_en.text %}'
}; };
var singleEvent = new Add2Calendar(singleEventArgs); var singleEvent = new Add2Calendar(singleEventArgs);