diff --git a/pages/home/static/js/weather_watch.js b/pages/home/static/js/weather_watch.js index eca2b8a0..2eb83e60 100644 --- a/pages/home/static/js/weather_watch.js +++ b/pages/home/static/js/weather_watch.js @@ -272,7 +272,7 @@ $(document).ready(function () { } } - img.src = `${static_path}${icon.properties.condition_icon}` ? icon.properties.condition_icon !== 'None.png' : '' + img.src = `${static_path}${icon.properties.condition_icon}` return img.src }) diff --git a/pages/home/templates/hero_types/card_hero.html b/pages/home/templates/hero_types/card_hero.html index 2a2c8d6b..93fe3496 100644 --- a/pages/home/templates/hero_types/card_hero.html +++ b/pages/home/templates/hero_types/card_hero.html @@ -74,11 +74,11 @@
{% if latest_forecast.data_value.air_temperature_max %} -

{{ latest_forecast.data_value.air_temperature_max|floatformat:0 }}{{ settings.forecastmanager.ForecastSetting.get_temp_units_display }}

+

{{ latest_forecast.data_value.air_temperature_max|floatformat:0 }}°C

{% endif %} {% if latest_forecast.data_value.air_temperature_min %} -

{{ latest_forecast.data_value.air_temperature_min|floatformat:0 }}{{ settings.forecastmanager.ForecastSetting.get_temp_units_display }}

+

{{ latest_forecast.data_value.air_temperature_min|floatformat:0 }}°C

{% endif %}
@@ -146,11 +146,11 @@

{% if item.data_value.air_temperature_max %} - {{ item.data_value.air_temperature_max|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_max|floatformat:0 }}°C {% endif %} {% if item.data_value.air_temperature_min %} - {{ item.data_value.air_temperature_min|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_min|floatformat:0 }}°C {% endif %}

diff --git a/pages/home/templates/hero_types/full_hero.html b/pages/home/templates/hero_types/full_hero.html index aeb265d4..24a5973f 100644 --- a/pages/home/templates/hero_types/full_hero.html +++ b/pages/home/templates/hero_types/full_hero.html @@ -146,11 +146,11 @@

{% if item.data_value.air_temperature_max %} - {{ item.data_value.air_temperature_max|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_max|floatformat:0 }}°C {% endif %} {% if item.data_value.air_temperature_min %} - {{ item.data_value.air_temperature_min|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_min|floatformat:0 }}°C {% endif %}

diff --git a/pages/home/templates/hero_types/half_hero.html b/pages/home/templates/hero_types/half_hero.html index c6cbfffa..858c2a2d 100644 --- a/pages/home/templates/hero_types/half_hero.html +++ b/pages/home/templates/hero_types/half_hero.html @@ -80,11 +80,11 @@
{% if latest_forecast.data_value.air_temperature_max %} -

{{ latest_forecast.data_value.air_temperature_max|floatformat:0 }}{{ settings.forecastmanager.ForecastSetting.get_temp_units_display }}

+

{{ latest_forecast.data_value.air_temperature_max|floatformat:0 }}°C

{% endif %} {% if latest_forecast.data_value.air_temperature_min %} -

{{ latest_forecast.data_value.air_temperature_min|floatformat:0 }}{{ settings.forecastmanager.ForecastSetting.get_temp_units_display }}

+

{{ latest_forecast.data_value.air_temperature_min|floatformat:0 }}°C

{% endif %}
@@ -151,11 +151,11 @@

{% if item.data_value.air_temperature_max %} - {{ item.data_value.air_temperature_max|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_max|floatformat:0 }}°C {% endif %} {% if item.data_value.air_temperature_min %} - {{ item.data_value.air_temperature_min|floatformat:0 }} {{ settings.forecastmanager.ForecastSetting.get_temp_units_display }} + {{ item.data_value.air_temperature_min|floatformat:0 }}°C {% endif %}