mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 16:34:21 +08:00
88af23e1ca
This PR modernizes the user fields area of the admin UI. It is largely based on the work on the emoji section.
27 lines
744 B
Handlebars
27 lines
744 B
Handlebars
<div class="admin-user_fields admin-config-page">
|
|
<AdminPageHeader
|
|
@titleLabel="admin.user_fields.title"
|
|
@descriptionLabel="admin.user_fields.help"
|
|
@hideTabs={{true}}
|
|
@learnMoreUrl="https://meta.discourse.org/t/creating-and-configuring-custom-user-fields/113192"
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem
|
|
@path="/admin/customize/user_fields"
|
|
@label={{i18n "admin.user_fields.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
<:actions as |actions|>
|
|
<actions.Primary
|
|
@route="adminUserFields.new"
|
|
@label="admin.user_fields.add"
|
|
/>
|
|
</:actions>
|
|
</AdminPageHeader>
|
|
|
|
<div class="admin-config-page__main-area">
|
|
<div class="user-fields">
|
|
{{outlet}}
|
|
</div>
|
|
</div>
|
|
</div> |