discourse/app/assets/javascripts/admin/addon/templates/emojis.hbs
Ted Johansson d96b8d1001
DEV: Modernize admin emoji JavaScript (#29714)
app/assets/javascripts/admin/addon/templates/emojis.hbs
2024-11-19 15:44:34 +08:00

33 lines
865 B
Handlebars

<div class="admin-emojis admin-config-page">
<AdminPageHeader
@titleLabel="admin.emoji.title"
@descriptionLabel="admin.emoji.description"
@hideTabs={{this.hideTabs}}
>
<:breadcrumbs>
<DBreadcrumbsItem
@path="/admin/customize/emojis"
@label={{i18n "admin.emoji.title"}}
/>
</:breadcrumbs>
<:actions as |actions|>
<actions.Primary @route="adminEmojis.new" @label="admin.emoji.add" />
</:actions>
<:tabs>
<NavItem
@route="adminEmojis.settings"
@label="settings"
class="admin-emojis-tabs__settings"
/>
<NavItem
@route="adminEmojis.index"
@label="admin.emoji.title"
class="admin-emojis-tabs__emoji"
/>
</:tabs>
</AdminPageHeader>
<div class="admin-container admin-config-page__main-area">
{{outlet}}
</div>
</div>