2024-12-18 06:13:39 +08:00
|
|
|
<DPageHeader
|
|
|
|
@titleLabel={{i18n "admin.config_areas.flags.header"}}
|
|
|
|
@descriptionLabel={{i18n "admin.config_areas.flags.subheader"}}
|
2024-12-10 08:59:47 +08:00
|
|
|
@learnMoreUrl="https://meta.discourse.org/t/moderation-flags/325589"
|
|
|
|
>
|
|
|
|
<:breadcrumbs>
|
2024-12-18 06:13:39 +08:00
|
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
2024-12-10 08:59:47 +08:00
|
|
|
<DBreadcrumbsItem
|
|
|
|
@path="/admin/config/flags"
|
|
|
|
@label={{i18n "admin.config_areas.flags.header"}}
|
|
|
|
/>
|
|
|
|
</:breadcrumbs>
|
|
|
|
<:actions as |actions|>
|
|
|
|
<actions.Primary
|
|
|
|
@route="adminConfig.flags.new"
|
|
|
|
@title="admin.config_areas.flags.add"
|
|
|
|
@label="admin.config_areas.flags.add"
|
|
|
|
@disabled={{this.addFlagButtonDisabled}}
|
|
|
|
class="admin-flags__header-add-flag"
|
|
|
|
/>
|
|
|
|
</:actions>
|
|
|
|
<:tabs>
|
|
|
|
<NavItem
|
|
|
|
@route="adminConfig.flags.settings"
|
|
|
|
@label="settings"
|
|
|
|
class="admin-flags-tabs__settings"
|
|
|
|
/>
|
|
|
|
<NavItem
|
|
|
|
@route="adminConfig.flags.index"
|
|
|
|
@label="admin.config_areas.flags.flags_tab"
|
|
|
|
class="admin-flags-tabs__flags"
|
|
|
|
/>
|
|
|
|
</:tabs>
|
2024-12-18 06:13:39 +08:00
|
|
|
</DPageHeader>
|
2024-12-10 08:59:47 +08:00
|
|
|
|
|
|
|
<div class="admin-container admin-config-page__main-area">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|