web/admin: also show note for SAML provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
894f704c27
commit
abcf515a69
|
@ -5486,6 +5486,7 @@ msgstr "Warning: Policy is not assigned."
|
||||||
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
||||||
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
||||||
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
||||||
|
#: src/pages/providers/saml/SAMLProviderViewPage.ts
|
||||||
msgid "Warning: Provider is not used by an Application."
|
msgid "Warning: Provider is not used by an Application."
|
||||||
msgstr "Warning: Provider is not used by an Application."
|
msgstr "Warning: Provider is not used by an Application."
|
||||||
|
|
||||||
|
|
|
@ -5425,6 +5425,7 @@ msgstr "Avertissement : la politique n'est pas assignée."
|
||||||
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
||||||
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
||||||
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
||||||
|
#: src/pages/providers/saml/SAMLProviderViewPage.ts
|
||||||
msgid "Warning: Provider is not used by an Application."
|
msgid "Warning: Provider is not used by an Application."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -5471,6 +5471,7 @@ msgstr ""
|
||||||
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
#: src/pages/providers/ldap/LDAPProviderViewPage.ts
|
||||||
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts
|
||||||
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
#: src/pages/providers/proxy/ProxyProviderViewPage.ts
|
||||||
|
#: src/pages/providers/saml/SAMLProviderViewPage.ts
|
||||||
msgid "Warning: Provider is not used by an Application."
|
msgid "Warning: Provider is not used by an Application."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ import { ifDefined } from "lit/directives/if-defined.js";
|
||||||
import { until } from "lit/directives/until.js";
|
import { until } from "lit/directives/until.js";
|
||||||
|
|
||||||
import AKGlobal from "../../../authentik.css";
|
import AKGlobal from "../../../authentik.css";
|
||||||
|
import PFBanner from "@patternfly/patternfly/components/Banner/banner.css";
|
||||||
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
||||||
import PFCard from "@patternfly/patternfly/components/Card/card.css";
|
import PFCard from "@patternfly/patternfly/components/Card/card.css";
|
||||||
import PFContent from "@patternfly/patternfly/components/Content/content.css";
|
import PFContent from "@patternfly/patternfly/components/Content/content.css";
|
||||||
|
@ -61,6 +62,7 @@ export class SAMLProviderViewPage extends LitElement {
|
||||||
PFCard,
|
PFCard,
|
||||||
PFDescriptionList,
|
PFDescriptionList,
|
||||||
PFSizing,
|
PFSizing,
|
||||||
|
PFBanner,
|
||||||
AKGlobal,
|
AKGlobal,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -78,6 +80,11 @@ export class SAMLProviderViewPage extends LitElement {
|
||||||
return html``;
|
return html``;
|
||||||
}
|
}
|
||||||
return html`<ak-tabs>
|
return html`<ak-tabs>
|
||||||
|
${this.provider?.assignedApplicationName
|
||||||
|
? html``
|
||||||
|
: html`<div slot="header" class="pf-c-banner pf-m-warning">
|
||||||
|
${t`Warning: Provider is not used by an Application.`}
|
||||||
|
</div>`}
|
||||||
<section
|
<section
|
||||||
slot="page-overview"
|
slot="page-overview"
|
||||||
data-tab-title="${t`Overview`}"
|
data-tab-title="${t`Overview`}"
|
||||||
|
|
Reference in New Issue