From e17dfef7e89544689bac7c320c52b992982addeb Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Tue, 13 Mar 2018 15:45:32 +0100 Subject: [PATCH] Handling GRID forecasts that have no specific weather station --- src/main/webapp/templates/forecastConfigurationList.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/templates/forecastConfigurationList.ftl b/src/main/webapp/templates/forecastConfigurationList.ftl index f7a4459f..2c3b2299 100755 --- a/src/main/webapp/templates/forecastConfigurationList.ftl +++ b/src/main/webapp/templates/forecastConfigurationList.ftl @@ -90,7 +90,7 @@ </#if> </td> <td>${forecastConfiguration.locationPointOfInterestId.name}</td> - <td>${forecastConfiguration.weatherStationPointOfInterestId.name}</td> + <td><#if forecastConfiguration.weatherStationPointOfInterestId?has_content>${forecastConfiguration.weatherStationPointOfInterestId.name}</#if></td> <td>${forecastConfiguration.dateStart}</td> <td>${forecastConfiguration.dateEnd}</td> </tr> @@ -119,7 +119,7 @@ </#if> </td> <td>${forecastConfiguration.locationPointOfInterestId.name}</td> - <td>${forecastConfiguration.weatherStationPointOfInterestId.name}</td> + <td><#if forecastConfiguration.weatherStationPointOfInterestId?has_content>${forecastConfiguration.weatherStationPointOfInterestId.name}</#if></td> <td>${forecastConfiguration.dateStart}</td> <td>${forecastConfiguration.dateEnd}</td> </tr> -- GitLab