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