Skip to content
Snippets Groups Projects
Commit 3250f00e authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

fix: Update user property name in Freemarker [VIPSUTV-303]

parent 03390fc4
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@
</#macro>
<#macro custom_css>
<link rel="stylesheet" type="text/css" href="/css/3rdparty/ol.css"/ >
<link rel="stylesheet" type="text/css" href="/css/3rdparty/ol.css"/>
</#macro>
<#macro custom_js>
<script type="text/javascript" src="/js/3rdparty/ol.js"></script>
......@@ -36,7 +36,7 @@
// If weather station already registered, center on location
// Otherwise, center and zoom to organizations's default
<#if weatherStation.longitude?has_content && weatherStation.latitude?has_content>
initMap([${(weatherStation.longitude?c)!""},${(weatherStation.latitude?c)!""}],10,${weatherStation.userId.organizationId.organizationId},${weatherStation.pointOfInterestId!"null"});
initMap([${(weatherStation.longitude?c)!""},${(weatherStation.latitude?c)!""}],10,${weatherStation.user.organizationId.organizationId},${weatherStation.pointOfInterestId!"null"});
<#else>
initMap([${defaultMapCenter.x?c},${defaultMapCenter.y?c}],${defaultMapZoom},${user.organizationId.organizationId},${weatherStation.pointOfInterestId!"null"});
</#if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment