diff --git a/next/components/molecules/Footer.js b/next/components/molecules/Footer.js index 97957372..e04142d4 100644 --- a/next/components/molecules/Footer.js +++ b/next/components/molecules/Footer.js @@ -93,25 +93,24 @@ export default function Footer({ template, ocult = false }) { if(template === "simple") return ( diff --git a/next/components/organisms/DatasetSearchCard.js b/next/components/organisms/DatasetSearchCard.js index 28d658a8..51c41ecd 100644 --- a/next/components/organisms/DatasetSearchCard.js +++ b/next/components/organisms/DatasetSearchCard.js @@ -299,31 +299,33 @@ export default function Dataset({ - - - {t('spatialCoverage')}: - - - {spatialCoverageNames.length > 0 - ? spatialCoverageNames.join(', ') - : spatialCoverage ? spatialCoverage : t('notProvided')} - - + + {t('spatialCoverage')}: + + + {spatialCoverageNames.length > 0 + ? spatialCoverageNames.join(', ') + : spatialCoverage ? spatialCoverage : t('notProvided')} + + + } - - - - - {t('table.temporalCoverage')} - - + + + {t('table.temporalCoverage')} + + - - - - + + + + - - - - {t('table.spatialCoverage')} - - + {process.env.NEXT_PUBLIC_BASE_URL_FRONTEND !== "https://basedosdados.org" && + + + + {t('table.spatialCoverage')} + + - + - - {spatialCoverageNames.length > 0 - ? spatialCoverageNames.join(', ') - : t('table.notProvided')} - - - - - + {spatialCoverageNames.length > 0 + ? spatialCoverageNames.join(', ') + : t('table.notProvided')} + + + + } diff --git a/next/pages/dataset/[dataset].js b/next/pages/dataset/[dataset].js index e5b824db..20147f63 100644 --- a/next/pages/dataset/[dataset].js +++ b/next/pages/dataset/[dataset].js @@ -142,7 +142,7 @@ export default function DatasetPage ({ dataset, spatialCoverageNames }) { spacing={0} > - + - + {dataset[`description${capitalize(locale)}`] || dataset.description || t('noDescription')} - - - - {t('temporalCoverage')} - + + + {t('organization')} + + - {dataset.temporalCoverage || t('notProvided')} + {dataset.organizations?.edges?.[0]?.node?.[`name${capitalize(locale)}`] || dataset.organizations?.edges?.[0]?.node?.name || t('noOrganization')} - + + + + + + {t('temporalCoverage')} + + + {dataset.temporalCoverage || t('notProvided')} + + - + {process.env.NEXT_PUBLIC_BASE_URL_FRONTEND !== "https://basedosdados.org" && + - - - - {t('organization')} - - - - {dataset.organizations?.edges?.[0]?.node?.[`name${capitalize(locale)}`] || dataset.organizations?.edges?.[0]?.node?.name || t('noOrganization')} - - - - + } diff --git a/next/pages/search.js b/next/pages/search.js index 9f144759..f9e6ed22 100644 --- a/next/pages/search.js +++ b/next/pages/search.js @@ -664,19 +664,24 @@ export default function SearchDatasetPage() { - handleSelectFilter(["spatial_coverage",`${value}`])} - isLoading={!isLoading} - /> - - + {process.env.NEXT_PUBLIC_BASE_URL_FRONTEND !== "https://basedosdados.org" ? + <> + handleSelectFilter(["spatial_coverage",`${value}`])} + isLoading={!isLoading} + /> + + + : + <> + }