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">
|
<ak-sidebar-item path="/outpost/outposts">
|
||||||
<span slot="label">${t`Outposts`}</span>
|
<span slot="label">${t`Outposts`}</span>
|
||||||
</ak-sidebar-item>
|
</ak-sidebar-item>
|
||||||
<ak-sidebar-item path="/outpost/service-connections">
|
<ak-sidebar-item path="/outpost/integrations">
|
||||||
<span slot="label">${t`Service Connections`}</span>
|
<span slot="label">${t`Integrations`}</span>
|
||||||
</ak-sidebar-item>
|
</ak-sidebar-item>
|
||||||
</ak-sidebar-item>
|
</ak-sidebar-item>
|
||||||
<ak-sidebar-item .condition=${superUserCondition}>
|
<ak-sidebar-item .condition=${superUserCondition}>
|
||||||
|
|
|
@ -19,9 +19,9 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti
|
||||||
|
|
||||||
getSuccessMessage(): string {
|
getSuccessMessage(): string {
|
||||||
if (this.instance) {
|
if (this.instance) {
|
||||||
return t`Successfully updated service-connection.`;
|
return t`Successfully updated integration.`;
|
||||||
} else {
|
} else {
|
||||||
return t`Successfully created service-connection.`;
|
return t`Successfully created integration.`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,9 @@ export class ServiceConnectionKubernetesForm extends ModelForm<
|
||||||
|
|
||||||
getSuccessMessage(): string {
|
getSuccessMessage(): string {
|
||||||
if (this.instance) {
|
if (this.instance) {
|
||||||
return t`Successfully updated service-connection.`;
|
return t`Successfully updated integration.`;
|
||||||
} else {
|
} 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")
|
@customElement("ak-outpost-service-connection-list")
|
||||||
export class OutpostServiceConnectionListPage extends TablePage<ServiceConnection> {
|
export class OutpostServiceConnectionListPage extends TablePage<ServiceConnection> {
|
||||||
pageTitle(): string {
|
pageTitle(): string {
|
||||||
return "Outpost Service-Connections";
|
return "Outpost integrations";
|
||||||
}
|
}
|
||||||
pageDescription(): string | undefined {
|
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 {
|
pageIcon(): string {
|
||||||
return "pf-icon pf-icon-integration";
|
return "pf-icon pf-icon-integration";
|
||||||
|
@ -96,7 +96,7 @@ export class OutpostServiceConnectionListPage extends TablePage<ServiceConnectio
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-forms-delete
|
<ak-forms-delete
|
||||||
.obj=${item}
|
.obj=${item}
|
||||||
objectLabel=${t`Outpost Service-connection`}
|
objectLabel=${t`Outpost integration`}
|
||||||
.usedBy=${() => {
|
.usedBy=${() => {
|
||||||
return new OutpostsApi(
|
return new OutpostsApi(
|
||||||
DEFAULT_CONFIG,
|
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("^/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/outposts$"), html`<ak-outpost-list></ak-outpost-list>`),
|
||||||
new Route(
|
new Route(
|
||||||
new RegExp("^/outpost/service-connections$"),
|
new RegExp("^/outpost/integrations$"),
|
||||||
html`<ak-outpost-service-connection-list></ak-outpost-service-connection-list>`,
|
html`<ak-outpost-service-connection-list></ak-outpost-service-connection-list>`,
|
||||||
),
|
),
|
||||||
new Route(
|
new Route(
|
||||||
|
|
Reference in New Issue