mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
16 lines
647 B
Plaintext
16 lines
647 B
Plaintext
{% if not suspended %}
|
|
{% for name, status in moduleList %}
|
|
<div class="small bright">
|
|
<i class="fa fa-exclamation-circle"></i>
|
|
<span>
|
|
{% set mainTextLabel = "UPDATE_NOTIFICATION" if name === "default" else "UPDATE_NOTIFICATION_MODULE" %}
|
|
{{ mainTextLabel | translate({MODULE_NAME: name}) }}
|
|
</span>
|
|
</div>
|
|
<div class="xsmall dimmed">
|
|
{% set subTextLabel = "UPDATE_INFO_SINGLE" if status.behind === 1 else "UPDATE_INFO_MULTIPLE" %}
|
|
{{ subTextLabel | translate({COMMIT_COUNT: status.behind, BRANCH_NAME: status.current}) | diffLink(status) | safe }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|