2021-09-18 03:55:32 +02:00
|
|
|
{% if not suspended %}
|
|
|
|
{% for name, status in moduleList %}
|
|
|
|
<div class="small bright">
|
2022-01-05 13:27:20 +01:00
|
|
|
<i class="fas fa-exclamation-circle"></i>
|
2021-09-18 03:55:32 +02:00
|
|
|
<span>
|
2023-01-12 09:14:20 +01:00
|
|
|
{% set mainTextLabel = "UPDATE_NOTIFICATION" if name === "MagicMirror" else "UPDATE_NOTIFICATION_MODULE" %}
|
2021-09-18 03:55:32 +02:00
|
|
|
{{ 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 %}
|