From a0de7de750171aa14701354c4cce44b674ff139d Mon Sep 17 00:00:00 2001 From: Marcel Clausen Date: Thu, 5 Sep 2024 15:38:37 +0200 Subject: [PATCH] BGDIDIC-642: with the migration to stac the image_number is empty now FeatureID will be used as bildnummer the attribute filename can be removed from htmlpopup --- chsdi/templates/htmlpopup/lubis_terra.mako | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chsdi/templates/htmlpopup/lubis_terra.mako b/chsdi/templates/htmlpopup/lubis_terra.mako index 453f1b66c3..da1b8da7a7 100644 --- a/chsdi/templates/htmlpopup/lubis_terra.mako +++ b/chsdi/templates/htmlpopup/lubis_terra.mako @@ -103,9 +103,8 @@ else: %> % if isStac: # STAC Tooltips -${_(tt_lubis_ebkey)} ${c['attributes']['image_number'] or '-'} +${_(tt_lubis_ebkey)} ${c['featureId'] or '-'} ${_('ch.swisstopo.lubis-terrestrische_aufnahmen.tt_lubis_aufnahmedatum')}${datum or '-'} -${_('tt_lubis_bildpfad')} ${c['attributes']['filename'] or '-'} ${_('ch.swisstopo.lubis-terrestrische_aufnahmen.operate_name')} ${c['attributes']['ort'] or '-'} ${_('ch.swisstopo.lubis-terrestrische_aufnahmen.station')} ${c['attributes']['station'] or '-'} ${_('tt_lubis_schraegaufnahmen_x')} ${c['attributes']['x'] or '-'}