mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Ability to hide sun details
This commit is contained in:
parent
447c0bffdc
commit
766140f483
@ -22,14 +22,16 @@
|
|||||||
{% if config.showHumidity and current.humidity %}
|
{% if config.showHumidity and current.humidity %}
|
||||||
<span>{{ current.humidity | decimalSymbol }}</span><sup> <i class="wi wi-humidity humidityIcon"></i></sup>
|
<span>{{ current.humidity | decimalSymbol }}</span><sup> <i class="wi wi-humidity humidityIcon"></i></sup>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="wi dimmed wi-{{ current.nextSunAction() }}"></span>
|
{% if config.showSun %}
|
||||||
<span>
|
<span class="wi dimmed wi-{{ current.nextSunAction() }}"></span>
|
||||||
{% if current.nextSunAction() === "sunset" %}
|
<span>
|
||||||
{{ current.sunset | formatTime }}
|
{% if current.nextSunAction() === "sunset" %}
|
||||||
{% else %}
|
{{ current.sunset | formatTime }}
|
||||||
{{ current.sunrise | formatTime }}
|
{% else %}
|
||||||
{% endif %}
|
{{ current.sunrise | formatTime }}
|
||||||
</span>
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="large light">
|
<div class="large light">
|
||||||
|
@ -33,6 +33,7 @@ Module.register("weather",{
|
|||||||
useBeaufort: true,
|
useBeaufort: true,
|
||||||
lang: config.language,
|
lang: config.language,
|
||||||
showHumidity: false,
|
showHumidity: false,
|
||||||
|
showSun: true,
|
||||||
degreeLabel: false,
|
degreeLabel: false,
|
||||||
decimalSymbol: ".",
|
decimalSymbol: ".",
|
||||||
showIndoorTemperature: false,
|
showIndoorTemperature: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user