web: fully re-label service connection to integration

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-04 00:18:15 +02:00
parent a449f9c69b
commit 04486d65dc
5 changed files with 10 additions and 10 deletions

View File

@ -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}>

View File

@ -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.`;
}
}

View File

@ -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.`;
}
}

View File

@ -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,

View File

@ -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(