diff --git a/web/src/admin/admin-settings/AdminSettingsForm.ts b/web/src/admin/admin-settings/AdminSettingsForm.ts
index 803e64183..ae9aaffe6 100644
--- a/web/src/admin/admin-settings/AdminSettingsForm.ts
+++ b/web/src/admin/admin-settings/AdminSettingsForm.ts
@@ -10,8 +10,9 @@ import "@goauthentik/elements/forms/SearchSelect";
import "@goauthentik/elements/utils/TimeDeltaHelp";
import { msg } from "@lit/localize";
-import { TemplateResult, html } from "lit";
+import { CSSResult, TemplateResult, html } from "lit";
import { customElement, property } from "lit/decorators.js";
+import { ifDefined } from "lit/directives/if-defined.js";
import PFList from "@patternfly/patternfly/components/List/list.css";
@@ -45,47 +46,55 @@ export class AdminSettingsForm extends Form
-
none
: ${msg(
+ none
:
+ ${msg(
"Disables per-user avatars and just shows a 1x1 pixel transparent picture",
- )}gravatar
: ${msg(
- "Uses gravatar with the user's email address",
- )}initials
: ${msg(
- "Generated avatars based on the user's name",
- )}gravatar
:
+ ${msg("Uses gravatar with the user's email address")}
+ initials
:
+ ${msg("Generated avatars based on the user's name")}
+ %(username)s
: ${msg(
- "The user's username",
- )}%(mail_hash)s
: ${msg(
- "The email address, md5 hashed",
- )}%(upn)s
: ${msg(
- "The user's UPN, if set (otherwise an empty string)",
- )}%(username)s
: ${msg("The user's username")}
+ %(mail_hash)s
:
+ ${msg("The email address, md5 hashed")}
+ %(upn)s
:
+ ${msg("The user's UPN, if set (otherwise an empty string)")}
+ attributes.something.avatar
, which can be used in
combination with the file field to allow users to upload custom
avatars for themselves.`,
- )}
${msg(
"Multiple values can be set, comma-separated, and authentik will fallback to the next mode when no avatar could be found.",
@@ -125,7 +134,7 @@ export class AdminSettingsForm extends Form
${msg("Duration after which events will be deleted from the database.")}