Mercurial > gemma
changeset 4584:44b032028e48 iso-areas
Re-enable templating for sounding differences on config changes.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Oct 2019 16:37:40 +0200 |
parents | 0b01fd83bc3b |
children | d4480bbe7d07 |
files | pkg/controllers/system.go pkg/geoserver/templates.go |
diffstat | 2 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/controllers/system.go Tue Oct 08 16:35:02 2019 +0200 +++ b/pkg/controllers/system.go Tue Oct 08 16:37:40 2019 +0200 @@ -246,7 +246,6 @@ } }) }) - /* FIXME! registerReconfigureFunc("morphology_classbreaks_compare", func(old sql.NullString, curr string) (func(*http.Request), error) { return reconfigureClassBreaks( @@ -254,7 +253,6 @@ "sounding_differences", func(*http.Request) { go deleteSoundingDiffs() }) }) - */ reconf := func(which string) func(sql.NullString, string) (func(*http.Request), error) { return func(old sql.NullString, curr string) (func(*http.Request), error) {
--- a/pkg/geoserver/templates.go Tue Oct 08 16:35:02 2019 +0200 +++ b/pkg/geoserver/templates.go Tue Oct 08 16:37:40 2019 +0200 @@ -37,11 +37,9 @@ RegisterStylePreprocessor( "sounding_results_areas_geoserver", templateContourLinesFunc("morphology_classbreaks")) - /* FIXME! RegisterStylePreprocessor( - "sounding_differences", - templateContourLinesFunc("morphology_classbreaks_compare")) - */ + "sounding_differences", + templateContourLinesFunc("morphology_classbreaks_compare")) RegisterStylePreprocessor( "distance_marks_geoserver", templateConfigValues)