From 933919c647436ab1038cabea85c78ad925731ff9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 26 Mar 2022 18:21:14 +0100 Subject: [PATCH] web/admin: allow editing of invitations Signed-off-by: Jens Langhammer #2583 --- web/src/locales/de.po | 6 ++++++ web/src/locales/en.po | 6 ++++++ web/src/locales/es.po | 6 ++++++ web/src/locales/fr_FR.po | 6 ++++++ web/src/locales/pl.po | 6 ++++++ web/src/locales/pseudo-LOCALE.po | 6 ++++++ web/src/locales/tr.po | 6 ++++++ web/src/locales/zh-Hans.po | 6 ++++++ web/src/locales/zh-Hant.po | 6 ++++++ web/src/locales/zh_TW.po | 6 ++++++ web/src/pages/stages/invitation/InvitationListPage.ts | 9 +++++++++ 11 files changed, 69 insertions(+) diff --git a/web/src/locales/de.po b/web/src/locales/de.po index f72a0c9d8..58fcc6339 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -193,6 +193,7 @@ msgstr "Ereignis" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5487,6 +5488,7 @@ msgstr "Aktuell!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5528,6 +5530,10 @@ msgstr "Ablauf aktualisieren" msgid "Update Group" msgstr "Gruppe aktualisieren" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "Aktualisieren Sie den LDAP-Anbieter" diff --git a/web/src/locales/en.po b/web/src/locales/en.po index fa9e54472..6d26ae5fe 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -178,6 +178,7 @@ msgstr "Action" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5598,6 +5599,7 @@ msgstr "Up-to-date!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5639,6 +5641,10 @@ msgstr "Update Flow" msgid "Update Group" msgstr "Update Group" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "Update Invitation" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "Update LDAP Provider" diff --git a/web/src/locales/es.po b/web/src/locales/es.po index 74317717f..35a75b872 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -180,6 +180,7 @@ msgstr "Acción" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5481,6 +5482,7 @@ msgstr "¡Actuales!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5522,6 +5524,10 @@ msgstr "Flujo de actualización" msgid "Update Group" msgstr "Grupo de actualización" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "Actualizar proveedor LDAP" diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index d82ac2d5a..424ee161b 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -183,6 +183,7 @@ msgstr "Action" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5539,6 +5540,7 @@ msgstr "À jour !" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5580,6 +5582,10 @@ msgstr "Mettre à jour le flux" msgid "Update Group" msgstr "Mettre à jour le groupe" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "Mettre à jour le fournisseur LDAP" diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index 1d384f3a5..cd9895ba5 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -180,6 +180,7 @@ msgstr "Akcja" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5478,6 +5479,7 @@ msgstr "Aktualny!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5519,6 +5521,10 @@ msgstr "Aktualizuj przepływ" msgid "Update Group" msgstr "Aktualizuj grupę" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "Aktualizuj dostawcę LDAP" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index e3dba020e..472a84221 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -178,6 +178,7 @@ msgstr "" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5578,6 +5579,7 @@ msgstr "" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5619,6 +5621,10 @@ msgstr "" msgid "Update Group" msgstr "" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 834744589..12ab99fd5 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -180,6 +180,7 @@ msgstr "Eylem" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5483,6 +5484,7 @@ msgstr "Güncel!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5524,6 +5526,10 @@ msgstr "Akışı Güncelle" msgid "Update Group" msgstr "Güncelleme Grubu" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "LDAP Sağlayıcısını Güncelle" diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index e9744f430..35253ef3a 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -182,6 +182,7 @@ msgstr "操作" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5474,6 +5475,7 @@ msgstr "最新!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5515,6 +5517,10 @@ msgstr "更新流程" msgid "Update Group" msgstr "更新组" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "更新 LDAP 提供程序" diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index ba2fa8bd2..63ae5ceb8 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -182,6 +182,7 @@ msgstr "操作" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5474,6 +5475,7 @@ msgstr "最新!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5515,6 +5517,10 @@ msgstr "更新流程" msgid "Update Group" msgstr "更新组" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "更新 LDAP 提供程序" diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index d2c00754b..61ed94678 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -182,6 +182,7 @@ msgstr "操作" #: src/pages/property-mappings/PropertyMappingListPage.ts #: src/pages/providers/ProviderListPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/system-tasks/SystemTaskListPage.ts #: src/pages/tenants/TenantListPage.ts @@ -5474,6 +5475,7 @@ msgstr "最新!" #: src/pages/sources/plex/PlexSourceViewPage.ts #: src/pages/sources/saml/SAMLSourceViewPage.ts #: src/pages/stages/StageListPage.ts +#: src/pages/stages/invitation/InvitationListPage.ts #: src/pages/stages/prompt/PromptListPage.ts #: src/pages/tenants/TenantListPage.ts #: src/pages/tokens/TokenListPage.ts @@ -5515,6 +5517,10 @@ msgstr "更新流程" msgid "Update Group" msgstr "更新组" +#: src/pages/stages/invitation/InvitationListPage.ts +msgid "Update Invitation" +msgstr "" + #: src/pages/providers/ldap/LDAPProviderViewPage.ts msgid "Update LDAP Provider" msgstr "更新 LDAP 提供程序" diff --git a/web/src/pages/stages/invitation/InvitationListPage.ts b/web/src/pages/stages/invitation/InvitationListPage.ts index 6f8202328..8d9fee0c1 100644 --- a/web/src/pages/stages/invitation/InvitationListPage.ts +++ b/web/src/pages/stages/invitation/InvitationListPage.ts @@ -68,6 +68,7 @@ export class InvitationListPage extends TablePage { new TableColumn(t`ID`, "pk"), new TableColumn(t`Created by`, "created_by"), new TableColumn(t`Expiry`), + new TableColumn(t`Actions`), ]; } @@ -98,6 +99,14 @@ export class InvitationListPage extends TablePage { html`${item.pk}`, html`${item.createdBy?.username}`, html`${item.expires?.toLocaleString() || t`-`}`, + html` + ${t`Update`} + ${t`Update Invitation`} + + + `, ]; }