FIX: Add back API keys plugin outlet lost in translation (#30730)

When converting the admin API keys page to the new admin UI guidelines we lost a plugin outlet. This adds that back.
This commit is contained in:
Ted Johansson 2025-01-13 10:32:57 +08:00 committed by GitHub
parent 0fc2d86259
commit 3e00e994a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,22 +1,27 @@
<div class="admin-api-keys admin-config-page"> <PluginOutlet @name="admin-api-keys">
<DPageHeader <div class="admin-api-keys admin-config-page">
@titleLabel={{i18n "admin.api_keys.title"}} <DPageHeader
@descriptionLabel={{i18n "admin.api_keys.description"}} @titleLabel={{i18n "admin.api_keys.title"}}
@hideTabs={{true}} @descriptionLabel={{i18n "admin.api_keys.description"}}
> @hideTabs={{true}}
<:breadcrumbs> >
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} /> <:breadcrumbs>
<DBreadcrumbsItem <DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
@path="/admin/api/keys" <DBreadcrumbsItem
@label={{i18n "admin.api_keys.title"}} @path="/admin/api/keys"
/> @label={{i18n "admin.api_keys.title"}}
</:breadcrumbs> />
<:actions as |actions|> </:breadcrumbs>
<actions.Primary @route="adminApiKeys.new" @label="admin.api_keys.add" /> <:actions as |actions|>
</:actions> <actions.Primary
</DPageHeader> @route="adminApiKeys.new"
@label="admin.api_keys.add"
/>
</:actions>
</DPageHeader>
<div class="admin-container admin-config-page__main-area"> <div class="admin-container admin-config-page__main-area">
{{outlet}} {{outlet}}
</div>
</div> </div>
</div> </PluginOutlet>