- {entry.publisher ? (
+ {entry.publisher && (
{entry.publisher}
- ) : entry.termPublisher ? (
-
{entry.termPublisher}
- ) : null}
+ )}
{entry.description !== "" && (
{entry.description}
)}
- {entry.definition !== "" && (
-
{entry.definition}
- )}
-
+
{/* Right column */}
@@ -454,84 +94,97 @@ export const ConceptPage: FC<{ curi?: string; uri?: string }> = ({
size={"sm"}
className="mb-sm font-strong text-textSecondary md:mb-md"
>
- {pathname.startsWith("/terminology") ||
- pathname.startsWith("/externalterminology")
+ {isTerminology
? t("pages|concept_page$about_terminology")
: t("pages|concept_page$about_concept")}
-
- {entry.hasResource && entry.hasResource?.length > 0 && (
+
+
- {t("pages|datasetpage$related_specifications")}
+ {isTerminology
+ ? t("pages|concept_page$term_adress")
+ : t("pages|concept_page$concept_adress")}
- {entry.hasResource.map(({ title, url }, idx) => (
+
+
+ {entry.address}
+
+
+
+ {entry.relatedSpecifications &&
+ entry.relatedSpecifications?.length > 0 && (
+
+
+ {t("pages|datasetpage$related_specifications")}
+
+ {entry.relatedSpecifications.map(({ title, url }, idx) => (
+
+ {title}
+
+ ))}
+
+ )}
+
+ {entry.relatedTerm && (
+
+
+ {t("pages|concept_page$terminology_concept")}
+
- {title}
+ {entry.relatedTerm.title}
- ))}
-
- )}
-
-
- {/* Download formats */}
-
-
-
-
- `,
- {
- done: function () {},
- },
- );
- }
- }
- };
-
return (
@@ -145,20 +68,7 @@ export const DataServicePage: React.FC<{
{/* Left column */}
- {/* Publisher */}
-
-
-
-
- `,
- {
- done: function () {},
- },
- );
- }
- }
- };
-
return (
@@ -493,6 +166,7 @@ export const DataSetPage: React.FC = () => {