Skip to content
Snippets Groups Projects
Commit 0e0a7e63 authored by Léopold Chappuis's avatar Léopold Chappuis Committed by Léopold Chappuis
Browse files

admin-login: add navigation back to main login page

Change-Id: Iee9799c9939d4a295b44934db051d9c159de2821
parent 6bd0161d
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ import { Theme, useTheme } from '@mui/material/styles'
import { AdminSettingSelection } from 'jami-web-common'
import { FormEvent, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { Navigate } from 'react-router-dom'
import { Link, Navigate } from 'react-router-dom'
import UnconnectedUserLayout from '../components/UnconnectedUserLayout'
import jamiLogoIcon from '../icons/jamiLogoIcon.svg'
......@@ -92,6 +92,20 @@ export default function AdminLogin() {
<GroupAddRounded />
</Fab>
</Box>
<Box
sx={{
mt: theme.typography.pxToRem(100),
display: 'flex',
flexDirection: 'row',
justifyContent: 'center',
}}
>
<Typography variant="body1" fontSize={13}>
<Link style={{ color: theme.ChatInterface.inputColor }} to={'/'}>
{t('admin_login_to_main')}
</Link>
</Typography>
</Box>
</Box>
</UnconnectedUserLayout>
)
......
......@@ -13,6 +13,7 @@
"add_to_group_no_user_selected": "No user selected",
"admin_account_configuration": "Admin configuration",
"admin_config_auth_methods_title": "Authentication methods",
"admin_login_to_main": "User login",
"admin_page_accounts_overview_title": "Accounts overview - {{count}} active accounts",
"admin_page_accounts_overview_title_auth": "Authentication method",
"admin_page_accounts_overview_title_username": "Username/Identifier",
......@@ -212,7 +213,7 @@
"registration_form_submit_button": "Register",
"registration_form_title": "Registration",
"registration_form_to_login_link": "Log in",
"registration_form_to_login_text": "Already have an account?",
"registration_form_to_login_text": "Connect",
"registration_form_username_tooltip": "Username may be from 3 to 32 chraracters long and contain a-z, A-Z, -, _\n\nClick for more details",
"registration_success": "Account registered successfully. Logging in…",
"resetting_display_name_success_alert": "Display name reset successfully.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment