UX: Use DPageHeader on the Themes page (#30759)

This change updates the header of the admin Themes page to be more consistent with the rest of the admin UI.
This commit is contained in:
Gary Pendergast 2025-01-14 17:00:15 +11:00 committed by GitHub
parent 6b4aa1221c
commit 36bbe0a0a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,18 @@
<DPageHeader
@titleLabel={{i18n "admin.customize.theme.title"}}
@descriptionLabel={{i18n "admin.customize.theme.description"}}
@learnMoreUrl="https://meta.discourse.org/t/91966"
@hideTabs={{true}}
>
<:breadcrumbs>
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
<DBreadcrumbsItem
@path="/admin/customize/themes"
@label={{i18n "admin.customize.theme.title"}}
/>
</:breadcrumbs>
</DPageHeader>
<PluginOutlet @name="admin-customize-themes">
{{#unless this.editingTheme}}
<ThemesList

View File

@ -4753,7 +4753,7 @@ en:
everyone_can_use: "Tags can be used by everyone"
usable_only_by_groups: "Tags are visible to everyone, but only the following groups can use them"
visible_only_to_groups: "Tags are visible only to the following groups"
cannot_save:
cannot_save:
empty_name: "Cannot save tag group. Make sure the tag group name is not empty."
no_tags: "Cannot save tag group. Make sure that at least one tag is selected."
no_groups: "Cannot save tag group. Make sure that at least one group is selected for permission."
@ -6043,6 +6043,7 @@ en:
browse_themes: "Browse community themes"
customize_desc: "Customize:"
title: "Themes"
description: "Themes are expansive customizations that change multiple elements of the style of your forum design, and often also include additional front-end features."
create: "Create"
create_type: "Type"
create_name: "Name"