discourse/app/assets/javascripts/admin/addon/templates/user-fields.hbs
Martin Brennan 5711bf6f27
DEV: Move admin config pages out of /customize/ sub-route (#30511)
The customize routes add CSS classes that make these admin
config pages look different from the ones under /admin/config.
We want all config routes to be under /admin/config as well.

This commit moves the emoji, user fields, and permalinks pages
out of customize and into config, updating all references and
adding more rails routes as needed.

Also renames admin emojis route to emoji, emoji is singular and plural.
2025-01-02 09:13:11 +10:00

28 lines
823 B
Handlebars

<div class="admin-user_fields admin-config-page">
<DPageHeader
@titleLabel={{i18n "admin.user_fields.title"}}
@descriptionLabel={{i18n "admin.user_fields.help"}}
@hideTabs={{true}}
@learnMoreUrl="https://meta.discourse.org/t/creating-and-configuring-custom-user-fields/113192"
>
<:breadcrumbs>
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
<DBreadcrumbsItem
@path="/admin/config/user-fields"
@label={{i18n "admin.user_fields.title"}}
/>
</:breadcrumbs>
<:actions as |actions|>
<actions.Primary
@route="adminUserFields.new"
@label="admin.user_fields.add"
/>
</:actions>
</DPageHeader>
<div class="admin-config-page__main-area">
<div class="user-fields">
{{outlet}}
</div>
</div>
</div>