From 81f3b133f6debe3b1c0dad8bc84d45a27eee4e72 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 23 Mar 2022 10:18:53 +0100 Subject: [PATCH] web/user: dont show flow title in user settings Signed-off-by: Jens Langhammer #2572 --- web/src/locales/de.po | 1 + web/src/locales/en.po | 1 + web/src/locales/es.po | 1 + web/src/locales/fr_FR.po | 1 + web/src/locales/pl.po | 1 + web/src/locales/pseudo-LOCALE.po | 1 + web/src/locales/tr.po | 1 + web/src/locales/zh-Hans.po | 1 + web/src/locales/zh-Hant.po | 1 + web/src/locales/zh_TW.po | 1 + .../details/stages/prompt/PromptStage.ts | 27 +++++++++++++++++++ 11 files changed, 37 insertions(+) diff --git a/web/src/locales/de.po b/web/src/locales/de.po index d3647da62..f72a0c9d8 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -2713,6 +2713,7 @@ msgstr "Server laden" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/en.po b/web/src/locales/en.po index b19a9d1ce..fa9e54472 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -2757,6 +2757,7 @@ msgstr "Load servers" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/es.po b/web/src/locales/es.po index ad17fc867..74317717f 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -2706,6 +2706,7 @@ msgstr "Servidores de carga" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index e2029a578..d82ac2d5a 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -2737,6 +2737,7 @@ msgstr "Charger les serveurs" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index aaa9a17f2..1d384f3a5 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -2703,6 +2703,7 @@ msgstr "Załaduj serwery" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index bf27c69b9..e3dba020e 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -2747,6 +2747,7 @@ msgstr "" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index edb442ffb..834744589 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -2707,6 +2707,7 @@ msgstr "Sunucuları yükle" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index f809c7efd..e9744f430 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -2703,6 +2703,7 @@ msgstr "加载服务器" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index c29811caa..ba2fa8bd2 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -2703,6 +2703,7 @@ msgstr "加载服务器" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index f635d0fb4..d2c00754b 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -2703,6 +2703,7 @@ msgstr "加载服务器" #: src/pages/applications/ApplicationViewPage.ts #: src/pages/applications/ApplicationViewPage.ts #: src/user/user-settings/details/UserSettingsFlowExecutor.ts +#: src/user/user-settings/details/stages/prompt/PromptStage.ts #: src/user/user-settings/mfa/MFADevicesPage.ts #: src/user/user-settings/sources/SourceSettings.ts #: src/utils.ts diff --git a/web/src/user/user-settings/details/stages/prompt/PromptStage.ts b/web/src/user/user-settings/details/stages/prompt/PromptStage.ts index 6561882f6..11baf050a 100644 --- a/web/src/user/user-settings/details/stages/prompt/PromptStage.ts +++ b/web/src/user/user-settings/details/stages/prompt/PromptStage.ts @@ -46,4 +46,31 @@ export class UserSettingsPromptStage extends PromptStage { `; } + + render(): TemplateResult { + if (!this.challenge) { + return html` `; + } + return html` + `; + } }