mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 23:05:41 +08:00

Update the header of the admin Email Style page to be more consistent with the rest of the admin UI. The HTML/CSS tabs have also been updated, which required an extra check being added to the NavItem component.
29 lines
771 B
Handlebars
29 lines
771 B
Handlebars
<DPageHeader
|
|
@titleLabel={{i18n "admin.customize.email_style.heading"}}
|
|
@descriptionLabel={{i18n "admin.customize.email_style.instructions"}}
|
|
@shouldDisplay={{true}}
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
|
<DBreadcrumbsItem
|
|
@path="/admin/customize/email_style"
|
|
@label={{i18n "admin.customize.email_style.heading"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
<:tabs>
|
|
<NavItem
|
|
@label="admin.customize.email_style.html"
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
@routeParam="html"
|
|
/>
|
|
<NavItem
|
|
@label="admin.customize.email_style.css"
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
@routeParam="css"
|
|
/>
|
|
</:tabs>
|
|
</DPageHeader>
|
|
|
|
<div class="admin-container">
|
|
{{outlet}}
|
|
</div> |