web: fully re-label service connection to integration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a449f9c69b
commit
04486d65dc
|
@ -182,8 +182,8 @@ export class AdminInterface extends LitElement {
|
|||
<ak-sidebar-item path="/outpost/outposts">
|
||||
<span slot="label">${t`Outposts`}</span>
|
||||
</ak-sidebar-item>
|
||||
<ak-sidebar-item path="/outpost/service-connections">
|
||||
<span slot="label">${t`Service Connections`}</span>
|
||||
<ak-sidebar-item path="/outpost/integrations">
|
||||
<span slot="label">${t`Integrations`}</span>
|
||||
</ak-sidebar-item>
|
||||
</ak-sidebar-item>
|
||||
<ak-sidebar-item .condition=${superUserCondition}>
|
||||
|
|
|
@ -19,9 +19,9 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti
|
|||
|
||||
getSuccessMessage(): string {
|
||||
if (this.instance) {
|
||||
return t`Successfully updated service-connection.`;
|
||||
return t`Successfully updated integration.`;
|
||||
} else {
|
||||
return t`Successfully created service-connection.`;
|
||||
return t`Successfully created integration.`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@ export class ServiceConnectionKubernetesForm extends ModelForm<
|
|||
|
||||
getSuccessMessage(): string {
|
||||
if (this.instance) {
|
||||
return t`Successfully updated service-connection.`;
|
||||
return t`Successfully updated integration.`;
|
||||
} else {
|
||||
return t`Successfully created service-connection.`;
|
||||
return t`Successfully created integration.`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@ import { PFColor } from "../../elements/Label";
|
|||
@customElement("ak-outpost-service-connection-list")
|
||||
export class OutpostServiceConnectionListPage extends TablePage<ServiceConnection> {
|
||||
pageTitle(): string {
|
||||
return "Outpost Service-Connections";
|
||||
return "Outpost integrations";
|
||||
}
|
||||
pageDescription(): string | undefined {
|
||||
return "Outpost Service-Connections define how authentik connects to external platforms to manage and deploy Outposts.";
|
||||
return "Outpost integrations define how authentik connects to external platforms to manage and deploy Outposts.";
|
||||
}
|
||||
pageIcon(): string {
|
||||
return "pf-icon pf-icon-integration";
|
||||
|
@ -96,7 +96,7 @@ export class OutpostServiceConnectionListPage extends TablePage<ServiceConnectio
|
|||
</ak-forms-modal>
|
||||
<ak-forms-delete
|
||||
.obj=${item}
|
||||
objectLabel=${t`Outpost Service-connection`}
|
||||
objectLabel=${t`Outpost integration`}
|
||||
.usedBy=${() => {
|
||||
return new OutpostsApi(
|
||||
DEFAULT_CONFIG,
|
||||
|
|
|
@ -105,7 +105,7 @@ export const ROUTES: Route[] = [
|
|||
new Route(new RegExp("^/events/rules$"), html`<ak-event-rule-list></ak-event-rule-list>`),
|
||||
new Route(new RegExp("^/outpost/outposts$"), html`<ak-outpost-list></ak-outpost-list>`),
|
||||
new Route(
|
||||
new RegExp("^/outpost/service-connections$"),
|
||||
new RegExp("^/outpost/integrations$"),
|
||||
html`<ak-outpost-service-connection-list></ak-outpost-service-connection-list>`,
|
||||
),
|
||||
new Route(
|
||||
|
|
Reference in New Issue