From c5c5c4443db5b689f1772b297e452ddbc4c72705 Mon Sep 17 00:00:00 2001 From: Tobias Reber Date: Fri, 25 Aug 2023 10:36:54 +0200 Subject: [PATCH] BGDIDIC-2474: added missing mako for elektrische anlagen --- ..._elektrische_anlagen_ueber_36_station.mako | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 chsdi/templates/htmlpopup/bfe_elektrische_anlagen_ueber_36_station.mako diff --git a/chsdi/templates/htmlpopup/bfe_elektrische_anlagen_ueber_36_station.mako b/chsdi/templates/htmlpopup/bfe_elektrische_anlagen_ueber_36_station.mako new file mode 100644 index 0000000000..ae336e4228 --- /dev/null +++ b/chsdi/templates/htmlpopup/bfe_elektrische_anlagen_ueber_36_station.mako @@ -0,0 +1,24 @@ +<%inherit file="base.mako"/> + +<%def name="table_body(c, lang)"> + <% + stromnetztyp = c['layerBodId'] + '.' + c['attributes']['stromnetztyp'] + stationtyp = c['layerBodId'] + '.' + c['attributes']['stationtyp'] + %> + + ${_('ch.bfe.elektrische-anlagen_ueber_36.Bezeichnung')} + ${c['attributes']['bezeichnung'] or '-'} + + + ${_('ch.bfe.elektrische-anlagen_ueber_36.Eigentuemer')} + ${c['attributes']['eigentuemer'] or '-'} + + + ${_('ch.bfe.elektrische-anlagen_ueber_36.StromnetzTyp')} + ${_(stromnetztyp)} + + + ${_('ch.bfe.elektrische-anlagen_ueber_36.StationTyp')} + ${_(stationtyp)} + +