From 8e3a1f7e93e3caace429293d6f20b1a71b746076 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Sun, 17 May 2020 21:17:33 -0400 Subject: [PATCH] fixup! Say correct number of years in sidebar text --- src/mmw/js/src/modeling/gwlfe/quality/templates/result.html | 2 +- src/mmw/js/src/modeling/gwlfe/runoff/templates/result.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mmw/js/src/modeling/gwlfe/quality/templates/result.html b/src/mmw/js/src/modeling/gwlfe/quality/templates/result.html index f5373591f..9d0b68272 100644 --- a/src/mmw/js/src/modeling/gwlfe/quality/templates/result.html +++ b/src/mmw/js/src/modeling/gwlfe/quality/templates/result.html @@ -3,7 +3,7 @@ from {{ years }}-years of daily fluxes
-{% if weather_type == 'CUSTOM' %} +{% if weather_type == 'CUSTOM' and weather_custom %}

Source: {{ weather_custom }}

diff --git a/src/mmw/js/src/modeling/gwlfe/runoff/templates/result.html b/src/mmw/js/src/modeling/gwlfe/runoff/templates/result.html index d5e20a4ee..65bd4b2a4 100644 --- a/src/mmw/js/src/modeling/gwlfe/runoff/templates/result.html +++ b/src/mmw/js/src/modeling/gwlfe/runoff/templates/result.html @@ -3,7 +3,7 @@ from {{ years }}-years of daily water balance
-{% if weather_type == 'CUSTOM' %} +{% if weather_type == 'CUSTOM' and weather_custom %}

Source: {{ weather_custom }}