mirror of
https://github.com/discourse/discourse.git
synced 2025-01-10 02:14:09 +08:00
a879bcdc35
This converts the `<AdminPageHeader />` component and the `<AdminPageSubheader />` components into new components that can be used outside of admin, and updates the CSS classes. Also introduces a `<DPageActionButton />` component and child components for the header action buttons. I have to keep the old admin-only components around for now until plugins are updated, then we can remove it, and remove the re-exports that are done within admin-page-action-button.gjs
27 lines
884 B
Handlebars
27 lines
884 B
Handlebars
<DPageHeader
|
|
@titleLabel={{i18n "admin.section_landing_pages.account.title"}}
|
|
@hideTabs={{true}}
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
|
<DBreadcrumbsItem
|
|
@path="/admin/section/account"
|
|
@label={{i18n "admin.section_landing_pages.account.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
</DPageHeader>
|
|
|
|
<AdminSectionLandingWrapper>
|
|
<AdminSectionLandingItem
|
|
@icon="box-archive"
|
|
@titleLabel="admin.section_landing_pages.account.backups.title"
|
|
@descriptionLabel="admin.section_landing_pages.account.backups.description"
|
|
@titleRoute="admin.backups"
|
|
/>
|
|
<AdminSectionLandingItem
|
|
@icon="gift"
|
|
@titleLabel="admin.section_landing_pages.account.whats_new.title"
|
|
@descriptionLabel="admin.section_landing_pages.account.whats_new.description"
|
|
@titleRoute="admin.whatsNew"
|
|
/>
|
|
</AdminSectionLandingWrapper> |