Skip to content

A platform for community discussion. Free, open, simple.

UX: Add info alert for built-in themes (#33497)

Ella E.f6f888d00b5c
diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-show.gjs b/app/assets/javascripts/admin/addon/templates/customize-themes-show.gjs
index 136deee7a82..ef73e30cb3a 100644
--- a/app/assets/javascripts/admin/addon/templates/customize-themes-show.gjs
+++ b/app/assets/javascripts/admin/addon/templates/customize-themes-show.gjs
@@ -244,6 +244,12 @@ export default RouteTemplate(
{{/if}}
</div>
+ {{#if @controller.model.system}}
+ <div class="alert alert-info system-theme-info">
+ {{i18n "admin.customize.theme.built_in_description"}}
+ </div>
+ {{/if}}
+
{{#if @controller.siteSettings.use_overhauled_theme_color_palette}}
{{#unless @controller.model.component}}
<DPageHeader>
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 8bd833cbf09..414835e1510 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -6820,6 +6820,7 @@ en:
compare_commits: "(See new commits)"
remote_theme_edits: "If you want to edit this theme, you must <a href='%{repoURL}' target='_blank'>submit a change on its repository</a>"
repo_unreachable: "Couldn't contact the Git repository of this theme. Error message:"
+ built_in_description: "This theme is preinstalled and can not be deleted or customized"
imported_from_archive: "This theme was imported from a .zip file"
settings: "Settings"
colors: "Colors"