Skip to content

Commit

Permalink
Merge pull request #4438 from geoadmin/fix_BGDIDIC-642_stac_terra_id
Browse files Browse the repository at this point in the history
BGDIDIC-642: with the migration to stac the image_number is empty
  • Loading branch information
ltclm authored Sep 9, 2024
2 parents 27988af + a0de7de commit e7cd077
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chsdi/templates/htmlpopup/lubis_terra.mako
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ else:
%>
% if isStac: # STAC Tooltips
<tr><td class="cell-left">${_(tt_lubis_ebkey)}</td> <td>${c['attributes']['image_number'] or '-'}</td></tr>
<tr><td class="cell-left">${_(tt_lubis_ebkey)}</td> <td><a href="${asset_url}" target="_blank">${c['featureId'] or '-'}</a></td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.tt_lubis_aufnahmedatum')}</td><td>${datum or '-'}</td></tr>
<tr><td class="cell-left">${_('tt_lubis_bildpfad')}</td> <td>${c['attributes']['filename'] or '-'}</td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.operate_name')}</td> <td>${c['attributes']['ort'] or '-'}</td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.station')}</td> <td>${c['attributes']['station'] or '-'}</td></tr>
<tr><td class="cell-left">${_('tt_lubis_schraegaufnahmen_x')}</td> <td>${c['attributes']['x'] or '-'}</td></tr>
Expand Down

0 comments on commit e7cd077

Please sign in to comment.