From 4beebfea33faea657ecaeb1f0cfbf35cf2f54d55 Mon Sep 17 00:00:00 2001 From: Jean-Pascal MILCENT Date: Thu, 7 Apr 2022 19:56:40 +0200 Subject: [PATCH] Fix templates: remove JS errors Fix #403. --- .../custom/templates/footer.html.sample | 13 ------- atlas/templates/home/_main.html | 8 +++-- docs/changelog.rst | 35 +++++++++++++++++++ 3 files changed, 40 insertions(+), 16 deletions(-) diff --git a/atlas/static/custom/templates/footer.html.sample b/atlas/static/custom/templates/footer.html.sample index fa2be43c..13a70ccf 100644 --- a/atlas/static/custom/templates/footer.html.sample +++ b/atlas/static/custom/templates/footer.html.sample @@ -69,16 +69,3 @@ ga('send', 'pageview'); {% endif %} - - diff --git a/atlas/templates/home/_main.html b/atlas/templates/home/_main.html index 3c8c4b5b..206b0bfb 100644 --- a/atlas/templates/home/_main.html +++ b/atlas/templates/home/_main.html @@ -13,9 +13,11 @@ url_limit_territory = "{{url_for('static', filename='custom/territoire.json') }}"; - - - + {% if configuration.AFFICHAGE_DERNIERES_OBS %} + + + + {% endif %} + + 1.6.1 (2023-10-16) ------------------