Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance mode when database connection lost #14

Open
martinheppner opened this issue May 14, 2023 · 0 comments
Open

Maintenance mode when database connection lost #14

martinheppner opened this issue May 14, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@martinheppner
Copy link
Contributor

martinheppner commented May 14, 2023

When the database connection is lost an error message is shown - see screenshot.

Image

Instead of this error message, the maintenace mode should be activated in Header.js (see below)

if (totalTours==0) {
return <Box className={"header-container"} style={{backgroundImage: backgroundImage}}>
<Box className={"header-text"}>
<Box sx={{display: "flex", alignItems: "center", marginBottom: "16px"}}>
<img src={/app_static/img/logo-white.png} height={"16px"} width={"29px"}/><Typography style={{fontSize: "16px", color: "#FFF", lineHeight: "16px", marginLeft: "5px"}}>{getDomainText()}

<Typography variant={"h1"}>
{t('start.wartungsmodus')}



}

@martinheppner martinheppner moved this to Todo in Zuugle May 14, 2023
@martinheppner martinheppner added the enhancement New feature or request label May 18, 2023
@martinheppner martinheppner added the good first issue Good for newcomers label Jul 17, 2023
@martinheppner martinheppner added the help wanted Extra attention is needed label Sep 25, 2023
@martinheppner martinheppner moved this from Todo to Parking space in Zuugle Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Parking space
Development

No branches or pull requests

1 participant