From 6229d2e8c8d0aaa56793b6ea1f0590ba3584fe38 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 20 Jun 2025 17:35:03 +1000 Subject: [PATCH] Small UI improvement to SecurityContext (#9818) * Small UI improvement to SecurityContext * Fix translated string --- .../AccountSettings/SecurityContent.tsx | 48 +++++++++++-------- .../src/tables/plugin/PluginListTable.tsx | 2 +- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/src/frontend/src/pages/Index/Settings/AccountSettings/SecurityContent.tsx b/src/frontend/src/pages/Index/Settings/AccountSettings/SecurityContent.tsx index f03a181215..0506bffd15 100644 --- a/src/frontend/src/pages/Index/Settings/AccountSettings/SecurityContent.tsx +++ b/src/frontend/src/pages/Index/Settings/AccountSettings/SecurityContent.tsx @@ -133,13 +133,15 @@ function EmailSection() { return ( {emailAvailable ? ( - } - title={t`Not Configured`} - color='yellow' - > - Currently no email addresses are registered. - + + } + title={t`Not Configured`} + color='yellow' + > + Currently no email addresses are registered. + + ) : ( {data.length == 0 ? ( - } - title={t`Not Configured`} - color='yellow' - > - There are no providers connected to this account. - + + } + title={t`Not Configured`} + color='yellow' + > + There are no providers connected to this account. + + ) : ( {data.length == 0 ? ( - } - color='yellow' - > - No multi-factor tokens configured for this account - + + } + color='yellow' + > + No multi-factor tokens configured for this account + + ) : ( diff --git a/src/frontend/src/tables/plugin/PluginListTable.tsx b/src/frontend/src/tables/plugin/PluginListTable.tsx index 841b635c87..e44990a4fd 100644 --- a/src/frontend/src/tables/plugin/PluginListTable.tsx +++ b/src/frontend/src/tables/plugin/PluginListTable.tsx @@ -278,7 +278,7 @@ export default function PluginListTable() { }); const installPluginModal = useCreateApiFormModal({ - title: t`Install plugin`, + title: t`Install Plugin`, url: ApiEndpoints.plugin_install, timeout: 30000, fields: {