diff --git a/app/assets/javascripts/discourse/app/controllers/application.js b/app/assets/javascripts/discourse/app/controllers/application.js
index 45bb0eedaf6..8f61937e09d 100644
--- a/app/assets/javascripts/discourse/app/controllers/application.js
+++ b/app/assets/javascripts/discourse/app/controllers/application.js
@@ -2,6 +2,7 @@ import Controller from "@ember/controller";
import { action } from "@ember/object";
import { service } from "@ember/service";
import runAfterFramePaint from "discourse/lib/after-frame-paint";
+import { applyValueTransformer } from "discourse/lib/transformer";
import { isTesting } from "discourse-common/config/environment";
import discourseDebounce from "discourse-common/lib/debounce";
import deprecated from "discourse-common/lib/deprecated";
@@ -39,6 +40,10 @@ export default class ApplicationController extends Controller {
return this.showFooter && this.siteSettings.enable_powered_by_discourse;
}
+ get showBannerContent() {
+ return applyValueTransformer("show-application-banner-content", true);
+ }
+
@discourseComputed
canSignUp() {
return (
diff --git a/app/assets/javascripts/discourse/app/lib/transformer/registry.js b/app/assets/javascripts/discourse/app/lib/transformer/registry.js
index fb641495c61..50ecc15b473 100644
--- a/app/assets/javascripts/discourse/app/lib/transformer/registry.js
+++ b/app/assets/javascripts/discourse/app/lib/transformer/registry.js
@@ -13,4 +13,5 @@ export const VALUE_TRANSFORMERS = Object.freeze([
"mentions-class",
"more-topics-tabs",
"post-menu-buttons",
+ "show-application-banner-content",
]);
diff --git a/app/assets/javascripts/discourse/app/templates/application.hbs b/app/assets/javascripts/discourse/app/templates/application.hbs
index 7dab457db2e..a8d1e7a69f5 100644
--- a/app/assets/javascripts/discourse/app/templates/application.hbs
+++ b/app/assets/javascripts/discourse/app/templates/application.hbs
@@ -47,34 +47,44 @@