From c5568cfdf3f9d414ec8b387cba95e5a313230792 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 16 Oct 2022 21:09:30 +0200 Subject: [PATCH] client: fix auth page layout This also includes better rendering when no permissions are requested. Also removed the app's id from the page as it makes no sense to show this to a user. Changelog: Fixed --- locales/en-US.yml | 2 + packages/client/src/pages/auth.form.vue | 6 ++- packages/client/src/pages/auth.vue | 68 ++++++++++++++----------- 3 files changed, 45 insertions(+), 31 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 10e0e4c65..2051d16c2 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -830,6 +830,8 @@ removeTag: "Remove tag" externalCssSnippets: "Some CSS snippets for your inspiration (not managed by FoundKey)" oauthErrorGoBack: "An error happened while trying to authenticate a 3rd party app.\ \ Please go back and try again." +appAuthorization: "App authorization" +noPermissionsRequested: "(No permissions requested.)" _emailUnavailable: used: "This email address is already being used" format: "The format of this email address is invalid" diff --git a/packages/client/src/pages/auth.form.vue b/packages/client/src/pages/auth.form.vue index d4af3b6db..035ffac9a 100644 --- a/packages/client/src/pages/auth.form.vue +++ b/packages/client/src/pages/auth.form.vue @@ -3,14 +3,16 @@
{{ i18n.t('_auth.shareAccess', { name: app.name }) }}

{{ app.name }}

-

{{ app.id }}

{{ app.description }}

{{ i18n.ts._auth.permissionAsk }}

-