From 62275c8ebf33cf0ed3d13318cc5789904f71ecf0 Mon Sep 17 00:00:00 2001 From: gabeszm Date: Wed, 15 Oct 2025 22:05:08 +0200 Subject: [PATCH] Fix Ember deprecation warnings by adding this. prefix to theme properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All Handlebars templates updated to use this.theme instead of theme for compatibility with latest Discourse/Ember version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../welcome-banner.hbs | 82 +++++++++---------- .../welcome-banner-header.hbs | 82 +++++++++---------- 2 files changed, 82 insertions(+), 82 deletions(-) diff --git a/javascripts/discourse/connectors/above-main-container-outlet/welcome-banner.hbs b/javascripts/discourse/connectors/above-main-container-outlet/welcome-banner.hbs index 2e07c70..3f01c4b 100644 --- a/javascripts/discourse/connectors/above-main-container-outlet/welcome-banner.hbs +++ b/javascripts/discourse/connectors/above-main-container-outlet/welcome-banner.hbs @@ -1,16 +1,16 @@ -{{#if theme.enable_welcome_banner}} -{{#unless (eq theme.banner_position "below_header")}} +{{#if this.theme.enable_welcome_banner}} +{{#unless (eq this.theme.banner_position "below_header")}}

- {{{theme.hero_title_html}}} + {{{this.theme.hero_title_html}}}

- {{{theme.hero_content_html}}} + {{{this.theme.hero_content_html}}}
- {{#if theme.enable_hero_search}} + {{#if this.theme.enable_hero_search}}
{{/if}}
@@ -18,104 +18,104 @@