mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 07:38:40 +08:00

This change updates the header of the admin Themes page to be more consistent with the rest of the admin UI.
27 lines
754 B
Handlebars
27 lines
754 B
Handlebars
<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
|
|
@themes={{this.fullThemes}}
|
|
@components={{this.childThemes}}
|
|
@currentTab={{this.currentTab}}
|
|
@installModal={{route-action "installModal"}}
|
|
/>
|
|
{{/unless}}
|
|
|
|
{{outlet}}
|
|
</PluginOutlet> |