diff --git a/chsdi/templates/htmlpopup/lubis_stac.mako b/chsdi/templates/htmlpopup/lubis_stac.mako index c9922cc27f..597a283432 100644 --- a/chsdi/templates/htmlpopup/lubis_stac.mako +++ b/chsdi/templates/htmlpopup/lubis_stac.mako @@ -57,6 +57,7 @@ aerialimages_data_host = request.registry.settings['aerialimages_data_host'] tileUrlBasePath = aerialimages_data_host + '/tiles' preview_url = determinePreviewUrl(tileUrlBasePath, c['featureId']) +tt_lubis_Quickview='tt_lubis_Quickview' # new feature ids start with: lubis-luftbilder # simply create a link to the stac browser @@ -68,8 +69,10 @@ if c['featureId'].startswith('lubis-luftbilder'): aerialimages_url=f"https://sys-data.int.bgdi.ch/{c['layerBodId']}/{c['featureId']}/{c['attributes']['filename']}" meta_csv_url=f"https://sys-data.int.bgdi.ch/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.csv" orthophoto_url=f"https://sys-data.int.bgdi.ch/{c['layerBodId']}/{c['featureId']}/{c['attributes']['orthofilename']}" + preview_url=f"https://sys-data.int.bgdi.ch/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.jpg" viewer_url=aerialimages_url + tt_lubis_Quickview='tt_lubis_Quickview_stac' # legacy: old ebkeys with fullresviewer in aerialimages bucket # this part can be removed when the migration of the aerialimages bucket to stac/data.geo.admin.ch is finished @@ -164,14 +167,14 @@ else: % if preview_url: - ${_('tt_lubis_Quickview')} + ${_(tt_lubis_Quickview)} quickview % else: - ${_('tt_lubis_Quickview')} + ${_(tt_lubis_Quickview)} ${_('tt_lubis_noQuickview')} % endif