Formatting correction for min/max display

This commit is contained in:
Kevin G 2021-05-21 10:06:54 -04:00 committed by GitHub
parent c4fd4e0317
commit 1faefebe42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,17 +14,17 @@
{% endif %} {% endif %}
<td class="bright weather-icon"><span class="wi weathericon wi-{{ f.weatherType }}"></span></td> <td class="bright weather-icon"><span class="wi weathericon wi-{{ f.weatherType }}"></span></td>
<td class="align-right bright max-temp"> <td class="align-right bright max-temp">
{{ f.maxTemperature | roundValue | unit("temperature") }} {{ f.maxTemperature | roundValue | unit("temperature") | decimalSymbol }}
</td> </td>
<td class="align-right min-temp"> <td class="align-right min-temp">
{{ f.minTemperature | roundValue | unit("temperature") }} {{ f.minTemperature | roundValue | unit("temperature") | decimalSymbol }}
</td> </td>
{% if config.showPrecipitationAmount %} {% if config.showPrecipitationAmount %}
{% if f.precipitationUnits %} {% if f.precipitationUnits %}
<td class="align-right bright precipitation"> <td class="align-right bright precipitation">
{{ f.precipitation }}{{ f.precipitationUnits }} {{ f.precipitation }}{{ f.precipitationUnits }}
</td> </td>
{% else %} {% else %}
<td class="align-right bright precipitation"> <td class="align-right bright precipitation">
{{ f.precipitation | unit("precip") }} {{ f.precipitation | unit("precip") }}
</td> </td>