mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 06:38:28 +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
No EOL
771 B
Handlebars
Vendored
29 lines
No EOL
771 B
Handlebars
Vendored
<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> |