Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(DH): Change link to original metadata #19

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ <h5 translate class="font-medium text-black text-sm mb-[2px] mt-[16px]">
<div *ngIf="metadata.landingPage">
<p class="text-sm" translate>record.metadata.sheet</p>
<p class="text-primary font-medium" translate>
<a [href]="metadata.landingPage" target="_blank">
<span class="break-all" gnUiLinkify>{{ metadata.landingPage }}</span>
<a [href]="metadataLandingPageAdvanced" target="_blank">
<span class="break-all" gnUiLinkify>{{
metadataLandingPageAdvanced
}}</span>
</a>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ export class MetadataInfoComponent {
return this.metadata.contactsForResource?.[0]
}

// geocat specific
get metadataLandingPageAdvanced() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a // Geocat specific comment here? So that we keep track of changes :) thanks!

return (
this.metadata.landingPage + `/formatters/xsl-view?root=div&view=advanced`
)
}

fieldReady(propName: string) {
return !this.incomplete || propName in this.metadata
}
Expand Down
2 changes: 1 addition & 1 deletion translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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.technical": "Technische Informationen",
"record.metadata.temporalExtent": "Zeitlicher Umfang",
Expand Down
2 changes: 1 addition & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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.technical": "Technical information",
"record.metadata.temporalExtent": "Temporal extent",
Expand Down
2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
"record.metadata.quality.updateFrequency.failed": "Fréquence de mise à jour n'est pas renseignée",
"record.metadata.quality.updateFrequency.success": "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.technical": "Informations techniques",
"record.metadata.temporalExtent": "Etendue temporelle",
Expand Down
Loading