UX: Apply the admin page header component (#28767)
* DEV: Apply the admin page header component * DEV: remove unused i18n import
This commit is contained in:
parent
4a8d6f83bd
commit
cde4db1c6a
|
@ -1,7 +1,6 @@
|
|||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import AdminConfigAreaCard from "admin/components/admin-config-area-card";
|
||||
import AdminConfigAreasAboutContactInformation from "admin/components/admin-config-area-cards/about/contact-information";
|
||||
import AdminConfigAreasAboutGeneralSettings from "admin/components/admin-config-area-cards/about/general-settings";
|
||||
|
@ -50,7 +49,6 @@ export default class AdminConfigAreasAbout extends Component {
|
|||
|
||||
<template>
|
||||
<div class="admin-config-area">
|
||||
<h2>{{i18n "admin.config_areas.about.header"}}</h2>
|
||||
<div class="admin-config-area__primary-content">
|
||||
<AdminConfigAreaCard
|
||||
@heading="admin.config_areas.about.general_settings"
|
||||
|
|
|
@ -1 +1,15 @@
|
|||
<AdminConfigAreas::About @data={{this.model.site_settings}} />
|
||||
<AdminPageHeader
|
||||
@titleLabel="admin.config_areas.about.header"
|
||||
@hideTabs={{true}}
|
||||
>
|
||||
<:breadcrumbs>
|
||||
<DBreadcrumbsItem
|
||||
@path="/admin/config/about"
|
||||
@label={{i18n "admin.config_areas.about.header"}}
|
||||
/>
|
||||
</:breadcrumbs>
|
||||
</AdminPageHeader>
|
||||
|
||||
<div class="admin-container admin-config-page__main-area">
|
||||
<AdminConfigAreas::About @data={{this.model.site_settings}} />
|
||||
</div>
|
Loading…
Reference in New Issue