diff --git a/templates/base.html.twig b/templates/base.html.twig index 3c7bac6..133bf1d 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -61,6 +61,8 @@ {% block javascripts %} + + {% endblock %} \ No newline at end of file diff --git a/templates/fediplan/schedule.html.twig b/templates/fediplan/schedule.html.twig index 2b2ce28..058a14e 100644 --- a/templates/fediplan/schedule.html.twig +++ b/templates/fediplan/schedule.html.twig @@ -456,12 +456,12 @@ var id = $(this).attr('data-id'); $('#media_container_' + id).remove(); }) - var language = navigator.languages && navigator.languages[0] || + /*var language = navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage; var format = 'YYYY/MM/DD HH:mm:ss ZZ'; moment(time, format).tz(zone).format(format); - var currentDate = new Date().toLocaleString(language, { timeZone: timezone }) + var currentDate = new Date().toLocaleString(language, { timeZone: timezone })*/ }); {% endblock %} diff --git a/templates/fediplan/scheduled.html.twig b/templates/fediplan/scheduled.html.twig index 2714a78..e7b999d 100644 --- a/templates/fediplan/scheduled.html.twig +++ b/templates/fediplan/scheduled.html.twig @@ -65,7 +65,6 @@ .done(function(data) { $("#content").append(data.html); $('#loader').addClass("d-none"); - console.log( data); if( typeof data.html != "undefined" && data.html != "") { // $("#no_content").addClass("d-none"); }else{