From f94df2b3a70f27fc307237b22043db313ca96515 Mon Sep 17 00:00:00 2001
From: Henry
+ This account cannot authorize this app because its tenant does not match.
+
{t('auth.oauthConsent.permissions.title')}
+
+ {sessionOptions.length > 0 ? (
+
{t('pages.dashboard.quickActions.history')}
-{t('pages.dashboard.quickActions.historyDesc')}
-{t('pages.dashboard.quickActions.history')}
+{t('pages.dashboard.quickActions.historyDesc')}
+{t('tenantDashboardPage.userAccessLinks.description')}
{user?.nickname || t('common.user')}
@@ -215,7 +215,7 @@ export default function AdminLayout({ children, title, actions }: AdminLayoutPro
setShowAccountSwitcher(true)
setIsUserMenuOpen(false)
}}
- className="flex w-full items-center px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 justify-start"
+ className="flex w-full items-center justify-start rounded-none px-4 py-2 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-50 hover:text-blue-700"
>
{user?.nickname || t('common.tenantUser')}
@@ -221,7 +221,7 @@ export default function TenantLayout({ children, title, actions }: TenantLayoutP
setShowAccountSwitcher(true)
setIsUserMenuOpen(false)
}}
- className="flex w-full items-center px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 justify-start"
+ className="flex w-full items-center justify-start rounded-none px-4 py-2 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-50 hover:text-blue-700"
>
{user?.nickname || t('common.user')} {user?.email} {t('tenantAppRoleManagement.fields.code')}: {role.code} {role.description}
+ ) : (
+
- {t('tenantAppRoleManagement.list.title', { count: filteredRoles.length })}
-
- {role.name}
-
+ ) : (
+
- {t('tenantAppUserManagement.listTitle', { total: totalUsers })}
-
-
-
-
-
-
-
-
- {filteredUsers.map((user) => (
-
- {t('tenantAppUserManagement.table.user')}
-
-
- {t('tenantAppUserManagement.table.status')}
-
-
- {t('tenantAppUserManagement.table.lastActive')}
-
-
- {t('tenantAppUserManagement.table.authorizedAt')}
-
-
- {t('tenantAppUserManagement.table.scopes')}
-
-
- {t('tenantAppUserManagement.table.actions')}
-
-
-
- ))}
-
-
-
-
- ) : (
-
-
-
- {user.last_active_at ? (
- new Date(user.last_active_at).toLocaleString(locale)
- ) : (
- t('tenantAppUserManagement.fields.neverActive')
- )}
-
-
- {new Date(user.first_authorized_at).toLocaleString(locale)}
-
-
-
-
-
-
{t('tenantAppUserManagement.permissionModal.title', { user: selectedUser.user_nickname || selectedUser.user_email })}
-
+
{title}
-
+