diff --git a/geonode/static/geonode/js/upload/time.js b/geonode/static/geonode/js/upload/time.js index 30e86c3657d..bdd55c79b6f 100644 --- a/geonode/static/geonode/js/upload/time.js +++ b/geonode/static/geonode/js/upload/time.js @@ -235,6 +235,7 @@ define(['upload/upload', $(function () { $("#next").on('click', doTime); + const settingsForm = document.getElementById("settings"); $("#DISCRETE_INTERVAL,#CONTINUOUS_INTERVAL").on('change',function(ev) { $("#precision").show(); @@ -245,7 +246,15 @@ define(['upload/upload', }); $('#time-series-toggle-choice').on('change',function(ev) { + // show time form and advamced options + if (settingsForm.style.display !== "none"){ + settingsForm.style.display = "none"; + } + else{ + settingsForm.style.display = "block"; + } if(ev.target.value === 'on' && ev.target.checked) { + if($('#existing').val()) { $('input:radio[id="existing"]').prop("checked", true); $('#existing').trigger("click"); diff --git a/geonode/upload/templates/upload/dataset_upload_base.html b/geonode/upload/templates/upload/dataset_upload_base.html index 582a8d6da2e..1f5b4f37fb2 100644 --- a/geonode/upload/templates/upload/dataset_upload_base.html +++ b/geonode/upload/templates/upload/dataset_upload_base.html @@ -13,8 +13,7 @@ {% block body_outer %}
{% blocktrans %}Toggling this selector allows you to configure (or not) this data as a time series; in this case you will also have to select an attribute
+ to drive the time dimension.
+
+ If GeoNode is not able to parse any of the values for the selected attribute red markers will appear to highlight the problems.
+
+ More information is provided at the bottom of the page in the "Additional Help" sections.
+ {% endblocktrans %}
+