From 2bff3fc068120021ead5c078fab1c2fffb254ce7 Mon Sep 17 00:00:00 2001
From: Angi-Kinas <133115263+Angi-Kinas@users.noreply.github.com>
Date: Mon, 17 Jun 2024 15:53:03 +0200
Subject: [PATCH] chore(DH): Change link to original metadata (#19)
* chore(DH): Change link to original metadata
* chore(DH): Add geocat specific comment
---
.../src/lib/metadata-info/metadata-info.component.html | 6 ++++--
.../src/lib/metadata-info/metadata-info.component.ts | 7 +++++++
translations/de.json | 2 +-
translations/en.json | 2 +-
translations/fr.json | 2 +-
5 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html
index cb88a3fcb..e7bff52d7 100644
--- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html
+++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html
@@ -239,8 +239,10 @@
diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts
index 55379fc5f..92f8af47b 100644
--- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts
+++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts
@@ -90,6 +90,13 @@ export class MetadataInfoComponent {
return this.metadata.contactsForResource?.[0]
}
+ // geocat specific
+ get metadataLandingPageAdvanced() {
+ return (
+ this.metadata.landingPage + `/formatters/xsl-view?root=div&view=advanced`
+ )
+ }
+
fieldReady(propName: string) {
return !this.incomplete || propName in this.metadata
}
diff --git a/translations/de.json b/translations/de.json
index d7f694a98..6d6013911 100644
--- a/translations/de.json
+++ b/translations/de.json
@@ -450,7 +450,7 @@
"record.metadata.quality.updateFrequency.failed": "Aktualisierungsfrequenz nicht angegeben",
"record.metadata.quality.updateFrequency.success": "Aktualisierungsfrequenz angegeben",
"record.metadata.related": "Ähnliche Datensätze",
- "record.metadata.sheet": "Weitere Informationen verfügbar unter:",
+ "record.metadata.sheet": "Weitere detaillierte Informationen verfügbar unter:",
"record.metadata.status": "Status",
"record.metadata.status.notPublished": "",
"record.metadata.status.published": "",
diff --git a/translations/en.json b/translations/en.json
index 30ecb4b41..cee38539c 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -450,7 +450,7 @@
"record.metadata.quality.updateFrequency.failed": "Update frequency is not specified",
"record.metadata.quality.updateFrequency.success": "Update frequency is specified",
"record.metadata.related": "Related records",
- "record.metadata.sheet": "Original metadata",
+ "record.metadata.sheet": "Detailed original metadata",
"record.metadata.status": "Status",
"record.metadata.status.notPublished": "Not published",
"record.metadata.status.published": "Published",
diff --git a/translations/fr.json b/translations/fr.json
index b74b97fc4..b59415ca3 100644
--- a/translations/fr.json
+++ b/translations/fr.json
@@ -450,7 +450,7 @@
"record.metadata.quality.updateFrequency.failed": "La fréquence de mise à jour n'est pas renseignée",
"record.metadata.quality.updateFrequency.success": "La fréquence de mise à jour est renseignée",
"record.metadata.related": "Voir aussi",
- "record.metadata.sheet": "Fiche de métadonnées d'origine",
+ "record.metadata.sheet": "Fiche de métadonnées détaillée d'origine",
"record.metadata.status": "Statut",
"record.metadata.status.notPublished": "Non publié",
"record.metadata.status.published": "Publié",