Code cleanup for feels like translation

This commit is contained in:
Ashish Tank
2021-01-10 17:37:10 +01:00
parent 3eda8af671
commit 774b86c7dc
31 changed files with 36 additions and 45 deletions

View File

@@ -69,10 +69,7 @@
<div class="normal medium">
{% if config.showFeelsLike %}
<span class="dimmed">
{{ "FEELS" | translate({DEGREE: current.feelsLike() | roundValue | unit("temperature") | decimalSymbol }) }}
{% if not config.feelsLikeWithDegree %}
{{ current.feelsLike() | roundValue | unit("temperature") | decimalSymbol }}
{% endif %}
{{ "FEELS" | translate({DEGREE: current.feelsLike() | roundValue | unit("temperature") | decimalSymbol }) }}
</span>
{% endif %}
{% if config.showPrecipitationAmount %}