diff --git a/locale/en.json b/locale/en.json index 2d462f88a..9bf86f08e 100644 --- a/locale/en.json +++ b/locale/en.json @@ -727,7 +727,7 @@ "LOCATION_DESCRIPTION": "The precise decimal latitude and longitude where the sighting took place.", "WEBSITE": "Website", "REVIEW_MATCH_CANDIDATES": "Review match candidates", - "SERVER_STATUS": "Server Status", + "SITE_STATUS_PAGE_TITLE": "Site Status", "YOUR_NAME": "Your name", "CHOOSE_PHOTO": "Choose photo", "EMAIL_ADDRESS": "Email address", @@ -974,6 +974,8 @@ "SERVER_TOOLTIP_JOBCOUNTER_LABEL": "Jobcounter:", "SERVER_TOOLTIP_STATUS_LABEL": "Status:", "SERVER_TOOLTIP_DATE_RECEIVED_LABEL": "Received on:", + "SERVER_TOOLTIP_SUMMARY": "Jobcounter: {jobcounter}; Status: {status}; Received on: {dateReceived}", + "SERVER_COLOR_LEGEND_BOX": "{color} legend box", "PRINTABLE_PHOTOBOOK": "Printable Photobook", "NO_IMAGES": "There are no images for this individual.", "TASKS": "Tasks", diff --git a/src/AuthenticatedSwitch.jsx b/src/AuthenticatedSwitch.jsx index 1e20d649c..524ec7b10 100644 --- a/src/AuthenticatedSwitch.jsx +++ b/src/AuthenticatedSwitch.jsx @@ -6,7 +6,7 @@ import { TransitionGroup } from 'react-transition-group'; import AuthenticatedAppHeader from './components/AuthenticatedAppHeader'; import SaveCustomField from './pages/fieldManagement/settings/saveField/SaveField'; import GeneralSettings from './pages/generalSettings/GeneralSettings'; -import ServerStatus from './pages/serverStatus/ServerStatus'; +import SiteStatus from './pages/siteStatus/SiteStatus'; import SplashSettings from './pages/splashSettings/SplashSettings'; import FieldManagement from './pages/fieldManagement/FieldManagement'; import UserManagement from './pages/userManagement/UserManagement'; @@ -100,7 +100,7 @@ export default function AuthenticatedSwitch({ - + diff --git a/src/components/SuperText.jsx b/src/components/SuperText.jsx index f6d3a6aa7..f736298ba 100644 --- a/src/components/SuperText.jsx +++ b/src/components/SuperText.jsx @@ -20,7 +20,7 @@ function SuperTextElement({ datum }) { const spaces = datum?.spaces || 1; if (isSpacer) return repeat(' ', spaces); - const textProps = omit(datum, ['type']); + const textProps = omit(datum, ['type', 'hide']); return ; } diff --git a/src/pages/serverStatus/ServerStatus.jsx b/src/pages/siteStatus/SiteStatus.jsx similarity index 97% rename from src/pages/serverStatus/ServerStatus.jsx rename to src/pages/siteStatus/SiteStatus.jsx index 1d9b87def..84d34c2e5 100644 --- a/src/pages/serverStatus/ServerStatus.jsx +++ b/src/pages/siteStatus/SiteStatus.jsx @@ -62,13 +62,13 @@ const categoryData = { }, }; -export default function ServerStatus() { +export default function SiteStatus() { const theme = useTheme(); const isXs = useMediaQuery(theme.breakpoints.only('xs')); const { data: siteInfo, loading: siteInfoLoading } = useGetSiteInfo(); - useDocumentTitle('SERVER_STATUS'); + useDocumentTitle('SITE_STATUS_PAGE_TITLE'); const { data, error, isLoading } = useSageJobs(); const { lastHour, twoWeeks, byStatus } = @@ -106,9 +106,9 @@ export default function ServerStatus() { variant="h3" component="h3" style={{ padding: '16px 0 16px 16px' }} - id="SERVER_STATUS" + id="SITE_STATUS_PAGE_TITLE" /> - +