diff --git a/frontend/src/components/layouts/ResourceListPage.jsx b/frontend/src/components/layouts/ResourceListPage.jsx index 0460b0de..11cc05cc 100644 --- a/frontend/src/components/layouts/ResourceListPage.jsx +++ b/frontend/src/components/layouts/ResourceListPage.jsx @@ -100,6 +100,7 @@ export default function ResourceListPage({ emptyTitle = 'No results', emptyDescription = '', emptyAction = null, + emptySize = 'lg', // filtered empty (items exist but none match the filter/search) filteredEmptyIcon, filteredEmptyTitle = 'No results found', @@ -352,7 +353,7 @@ export default function ResourceListPage({ /> ) : resolvedTotal === 0 ? ( { + {t('app.cronJobs.scheduleARecurringTask', 'Schedule a recurring task.')} + {t('app.cronJobs.cronJobsRunCommandsOnA', 'Cron jobs run commands on a schedule, such as backups, cleanups or reports. Create the first one with New cron job.')} + + )} action={} /> ) : ( diff --git a/frontend/src/pages/Domains.jsx b/frontend/src/pages/Domains.jsx index 52d53989..b57aeed4 100644 --- a/frontend/src/pages/Domains.jsx +++ b/frontend/src/pages/Domains.jsx @@ -8,6 +8,7 @@ import api from '../services/api'; import { useToast } from '../contexts/useToast.js'; import { useAuth } from '../contexts/useAuth.js'; import EmptyState from '../components/EmptyState'; +import InfoTip from '@/components/InfoTip'; import ErrorState from '../components/ErrorState'; import Modal from '@/components/Modal'; import DomainField from '@/components/DomainField'; @@ -665,7 +666,12 @@ const Domains = () => { + {t('app.domains.attachADomainOrConnectDns', 'Attach a domain or connect DNS.')} + {t('app.domains.attachADomainToAnApplication', 'Attach a domain to a service, or connect a DNS provider to see its zones here.')} + + )} action={} /> ) : ( diff --git a/frontend/src/pages/SSLCertificates.jsx b/frontend/src/pages/SSLCertificates.jsx index 3c8fe874..54094190 100644 --- a/frontend/src/pages/SSLCertificates.jsx +++ b/frontend/src/pages/SSLCertificates.jsx @@ -5,6 +5,7 @@ import { } from 'lucide-react'; import api from '../services/api'; import Modal from '@/components/Modal'; +import InfoTip from '@/components/InfoTip'; import { Pill, SearchField } from '@/components/ds'; import ResourceListPage from '../components/layouts/ResourceListPage'; import { useTopbarActions } from '@/hooks/useTopbarActions'; @@ -523,8 +524,17 @@ const SSLCertificates = () => { onSearchChange={setSearch} searchInTopbar emptyIcon={Lock} - emptyTitle="No SSL certificates" - emptyDescription="Obtain your first Let's Encrypt certificate to secure your domains." + emptySize="default" + emptyTitle={t('app.sSLCertificates.noSslCertificates', 'No SSL certificates')} + emptyDescription={( + <> + {t('app.sSLCertificates.secureYourDomainsWithLetS', "Secure your domains with Let's Encrypt.")} + + {t('app.sSLCertificates.freeAutoRenewingCertificates', 'Get free, auto-renewing certificates for your domains.')} + {!certbotInstalled && ` ${t('app.sSLCertificates.certbotMustBeInstalledFirst', 'Certbot must be installed first.')}`} + + + )} emptyAction={certbotInstalled ? (