discourse/app/assets/javascripts/admin/addon/templates/customize-email-style.hbs
Gary Pendergast d144826fa7
UX: Use DPageHeader on the Email Style page (#30784)
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.
2025-01-15 16:53:45 +11:00

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>