Skip to content

Commit

Permalink
Merge pull request #4398 from geoadmin/data_BGDIDIC-2832_feedback
Browse files Browse the repository at this point in the history
BGDIDIC-2832: remove decimals from integer values in mako
  • Loading branch information
ltclm committed Jun 25, 2024
2 parents c5f44cc + 7a660b8 commit ec50333
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chsdi/templates/htmlpopup/hartsteinvorkommen.mako
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
</tr>
<tr>
<td class="cell-left">${_(f'{layerid}.elevation')}</td>
<td>${c['attributes']['elevation'] or '-'}</td>
<td>${int(round(c['attributes']['elevation'])) if c['attributes']['elevation'] is not None else '-'}</td>
</tr>
<tr>
<td class="cell-left"">${_(f'{layerid}.legend')}</td>
Expand All @@ -108,11 +108,11 @@
</tr>
<tr>
<td class="cell-left">${_(f'{layerid}.data_density_thickness')}</td>
<td>${c['attributes']['data_density_thickness'] or '-'}</td>
<td>${int(round(c['attributes']['data_density_thickness'])) if c['attributes']['data_density_thickness'] is not None else '-'}</td>
</tr>
<tr>
<td class="cell-left">${_(f'{layerid}.data_density_usability')}</td>
<td>${c['attributes']['data_density_usability'] or '-'}</td>
<td>${int(round(c['attributes']['data_density_usability'])) if c['attributes']['data_density_usability'] is not None else '-'}</td>
</tr>
<tr>
<td class="cell-left">${_(f'{layerid}.level_of_confidence')}</td>
Expand Down

0 comments on commit ec50333

Please sign in to comment.