diff --git a/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.config.js b/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.config.js index d35b49a..a09235d 100644 --- a/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.config.js +++ b/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.config.js @@ -3,9 +3,9 @@ export const hsgSublocationLinkConfig = { mapLink: 'https://goo.gl/maps/1DpLN6WGWbJMTvCC6' }, labels: { - mapLinkText: { - de: 'Karte', - en: 'Map' + mapLinkTextSZ: { + de: 'Standort \'Zentrum für Sprachen und transkulturelle Kommunikation\'', + en: 'Location \'Center for Languages and Transcultural Communication\'' } } } diff --git a/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.controller.js b/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.controller.js index c824ff5..876e0c7 100644 --- a/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.controller.js +++ b/js/modules/prm-location-items-after/hsg-sublocation-link/hsg-sublocation-link.controller.js @@ -11,13 +11,13 @@ export class hsgSublocationLinkController { $onInit() { this.parentCtrl = this.afterCtrl.parentCtrl - this.mapLinkText = this.translate('mapLinkText') if (!this.parentCtrl.currLoc) { return } const loc = this.parentCtrl.currLoc.location if (loc) { const subLocationCode = loc.subLocationCode + this.mapLinkText = this.translate('mapLinkText' + subLocationCode) if (subLocationCode === 'SZ') { this.showLink = true this.mapLink = this.config[subLocationCode].mapLink