From 6d0ba31c1650b894172834418c80ea12c8bd7f04 Mon Sep 17 00:00:00 2001 From: faselm Date: Mon, 26 Feb 2024 09:34:46 +0100 Subject: [PATCH] BGDIDIC-2631: remove field display filters --- ...hindernisbegrenzungsflaechen_kataster.mako | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/chsdi/templates/htmlpopup/hindernisbegrenzungsflaechen_kataster.mako b/chsdi/templates/htmlpopup/hindernisbegrenzungsflaechen_kataster.mako index 31f11b9c8b..b765249589 100644 --- a/chsdi/templates/htmlpopup/hindernisbegrenzungsflaechen_kataster.mako +++ b/chsdi/templates/htmlpopup/hindernisbegrenzungsflaechen_kataster.mako @@ -9,24 +9,20 @@ ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.surfacetype')} ${c['attributes']['surfacetype'] or '-'} - %if 'Polygon' in c['attributes']['geom_type']: - - ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.heightaccordingvil')} - %if c['attributes']['heightaccordingvil'] == 'Yes': - ${_('yesText')} - %elif c['attributes']['heightaccordingvil'] == 'No': - ${_('noText')} - %else: - - - %endif - - %if c['attributes']['heightaboveground'] != None: - - ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.heightaboveground')} - ${c['attributes']['heightaboveground'] or '-'} - + + ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.heightaccordingvil')} + %if c['attributes']['heightaccordingvil'] == 'Yes': + ${_('yesText')} + %elif c['attributes']['heightaccordingvil'] == 'No': + ${_('noText')} + %else: + - %endif - %endif + + + ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.heightaboveground')} + ${c['attributes']['heightaboveground'] or '-'} + ${_('ch.bazl.hindernisbegrenzungsflaechen-kataster.document')} %if c['attributes']['document'].startswith('http'):