diff --git a/web/src/locales/de.po b/web/src/locales/de.po index b39c9d2ba..6a6d5868a 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -4605,6 +4605,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "Passwort festlegen" @@ -5922,6 +5923,8 @@ msgstr "Angaben aktualisieren" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "Passwort ändern" diff --git a/web/src/locales/en.po b/web/src/locales/en.po index a959df6f4..5bfd2d7d0 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -4693,6 +4693,7 @@ msgstr "Set custom attributes using YAML or JSON. Any attributes set here will b #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "Set password" @@ -6043,6 +6044,8 @@ msgstr "Update details" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "Update password" diff --git a/web/src/locales/es.po b/web/src/locales/es.po index c2fcddb18..2c0e1549b 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -4598,6 +4598,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "Establecer contraseña" @@ -5916,6 +5917,8 @@ msgstr "Detalles de actualización" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "Actualizar contraseña" diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index e266960da..58a808e44 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -4647,6 +4647,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "" @@ -5974,6 +5975,8 @@ msgstr "Détails de la mise à jour" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "" diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index 2f6ddb256..7f416a642 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -4595,6 +4595,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "Ustaw hasło" @@ -5913,6 +5914,8 @@ msgstr "Zaktualizuj szczegóły" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "Zaktualizuj hasło" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index f91646f0e..aa32e1f7e 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -4673,6 +4673,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "" @@ -6013,6 +6014,8 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 940000416..26a9c3c7d 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -4600,6 +4600,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "Parola ayarla" @@ -5918,6 +5919,8 @@ msgstr "Ayrıntıları güncelle" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "Parolayı güncelle" diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index 139f5a60a..e718c9b44 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -4563,6 +4563,7 @@ msgstr "使用 YAML 或 JSON 格式设置自定义属性。如果请求由此租 #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "设置密码" @@ -5878,6 +5879,8 @@ msgstr "更新详情" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "更新密码" diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index b82d665c0..e4ae42e20 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -4568,6 +4568,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "设置密码" @@ -5884,6 +5885,8 @@ msgstr "更新详情" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "更新密码" diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index aed610050..fb60395c6 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -4568,6 +4568,7 @@ msgstr "" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts msgid "Set password" msgstr "设置密码" @@ -5884,6 +5885,8 @@ msgstr "更新详情" #: src/pages/users/RelatedUserList.ts #: src/pages/users/UserListPage.ts #: src/pages/users/UserListPage.ts +#: src/pages/users/UserViewPage.ts +#: src/pages/users/UserViewPage.ts msgid "Update password" msgstr "更新密码" diff --git a/web/src/pages/users/UserListPage.ts b/web/src/pages/users/UserListPage.ts index 12717eafa..3a47a5c5a 100644 --- a/web/src/pages/users/UserListPage.ts +++ b/web/src/pages/users/UserListPage.ts @@ -14,6 +14,7 @@ import { DEFAULT_CONFIG, config, tenant } from "../../api/Config"; import { me } from "../../api/Users"; import { uiConfig } from "../../common/config"; import { PFColor } from "../../elements/Label"; +import { PFSize } from "../../elements/Spinner"; import "../../elements/buttons/ActionButton"; import "../../elements/forms/DeleteBulkForm"; import "../../elements/forms/ModalForm"; @@ -215,7 +216,7 @@ export class UserListPage extends TablePage {
- + ${t`Update password`} ${t`Update password`}
+ ${until( + config().then((config) => { + if (config.capabilities.includes(CapabilitiesEnum.Impersonate)) { + return html` `; + } + return html``; + }), + )} - - ${until( - config().then((config) => { - if (config.capabilities.includes(CapabilitiesEnum.Impersonate)) { - return html` `; - } - return html``; - }), - )} +