/* Function for check whether the choosed weather station is within special category (e.g. devis) */
functionisSpecialWeatherStation(paramStationId)
{
...
...
@@ -564,6 +575,7 @@
resultData=[];
if($.trim(data))
{
$('#idTableWeather').show();
$('#idDivHeatSum').show();
resultData=data;
...
...
@@ -587,7 +599,7 @@
},
error:function(xhr,status,error)
{
$('#idTableWeather').hide();
$('#idDivHeatSum').hide();
alert('Please try later');
...
...
@@ -656,7 +668,10 @@
{% block content %}
<divclass="col-sm-10">
<divid='divIdAjaxLoader'class="alert alert-warning alert-dismissable"style="display: none;"><spanclass=".glyphicon .glyphicon-minus-sign"></span><center><b>Loading weather data !! If it takes long time. Talk to administrator</b></center></div>
</div>
<divclass="clearfix"></div>
<divclass="col-md-12">
<h1>{% trans "Calculate the risk of attack by the coddling moth" %}</h1>
{% trans "Heat sum, with a base temperature of 10 degrees Celcius, calculated for" %} <spanid='idSpanWeatherStationName'>-</span> {% trans "weather station for the period starting with" %} <spanid="idSpanStartDate">-</span> {% trans "and ending with" %} <spanid="idSpanEndDate">--</span> (<spanid="idSpanDateDifference">-</span> {% trans "days" %}) {% trans "is" %} : <spanclass="label label-primary"id="idDivResultNonNegative"></span> {% trans "day degrees" %}
{% trans "Heat sum, with a base temperature of 10 degrees Celcius, calculated for" %} <b><spanid='idSpanWeatherStationName'>-</span></b> {% trans "weather station for the period starting with" %} <b><spanid="idSpanStartDate">-</span></b> {% trans "and ending with" %} <b><spanid="idSpanEndDate">--</span></b> (<b><spanid="idSpanDateDifference">-</span></b> {% trans "days" %}) {% trans "is" %} : <spanclass="label label-primary"id="idDivResultNonNegative"></span> {% trans "day degrees" %}