mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Ran a linter over it (djlint) which fixed intendation and a few errors --------- Co-authored-by: veeck <michael@veeck.de>
21 lines
733 B
Plaintext
21 lines
733 B
Plaintext
{% if imageUrl or imageFA %}
|
|
{% set imageHeight = imageHeight if imageHeight else "80px" %}
|
|
{% if imageUrl %}
|
|
<img src="{{ imageUrl }}"
|
|
height="{{ imageHeight }}"
|
|
style="margin-bottom: 10px" />
|
|
{% else %}
|
|
<span class="bright fas fa-{{ imageFA }}"
|
|
style="margin-bottom: 10px;
|
|
font-size: {{ imageHeight }}"></span>
|
|
{% endif %}
|
|
<br />
|
|
{% endif %}
|
|
{% if title %}
|
|
<span class="thin dimmed medium">{{ title if titleType == 'text' else title | safe }}</span>
|
|
{% endif %}
|
|
{% if message %}
|
|
{% if title %}<br />{% endif %}
|
|
<span class="light bright small">{{ message if messageType == 'text' else message | safe }}</span>
|
|
{% endif %}
|