From 2b40762d2cc7868568ec53e42212f177edc5a9af Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Tue, 9 Jul 2024 00:35:01 +0200 Subject: [PATCH 1/3] [WebInterface] fix currency selector --- Services/Interfaces/web_interface/templates/profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Interfaces/web_interface/templates/profile.html b/Services/Interfaces/web_interface/templates/profile.html index fed8d5b41..0fbbddf65 100644 --- a/Services/Interfaces/web_interface/templates/profile.html +++ b/Services/Interfaces/web_interface/templates/profile.html @@ -324,7 +324,7 @@

Strategies

- From b568d56da5da449cf5b8ea9d1f2505230d21a470 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Tue, 9 Jul 2024 13:13:00 +0200 Subject: [PATCH 2/3] [WebInterface] add posthog --- .../advanced_templates/advanced_layout.html | 21 ++++++ .../flask_util/context_processor.py | 21 ++++++ .../static/js/common/tracking.js | 75 +++++++++++++++++++ .../web_interface/templates/about.html | 14 +--- .../components/community/user_details.html | 23 ++++++ .../web_interface/templates/layout.html | 27 ++++++- 6 files changed, 169 insertions(+), 12 deletions(-) create mode 100644 Services/Interfaces/web_interface/static/js/common/tracking.js create mode 100644 Services/Interfaces/web_interface/templates/components/community/user_details.html diff --git a/Services/Interfaces/web_interface/advanced_templates/advanced_layout.html b/Services/Interfaces/web_interface/advanced_templates/advanced_layout.html index 3f776f7f1..4af30475b 100644 --- a/Services/Interfaces/web_interface/advanced_templates/advanced_layout.html +++ b/Services/Interfaces/web_interface/advanced_templates/advanced_layout.html @@ -1,3 +1,5 @@ +{% import 'components/community/user_details.html' as m_user_details %} + {% set active_page = active_page|default('advanced.home') -%} @@ -42,6 +44,14 @@ + {% if IS_DEMO or IS_CLOUD or IS_ALLOWING_TRACKING%} + + {% endif %} + {% block additional_style %} {% endblock additional_style %} @@ -67,6 +77,7 @@ +