{% if not suspended %} {% if needRestart %}
{% set restartTextLabel = "UPDATE_NOTIFICATION_NEED-RESTART" %} {{ restartTextLabel | translate() | safe }}
{% endif %} {% for name, status in moduleList %}
{% set mainTextLabel = "UPDATE_NOTIFICATION" if name === "MagicMirror" else "UPDATE_NOTIFICATION_MODULE" %} {{ mainTextLabel | translate({MODULE_NAME: name}) }}
{% 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 }}
{% endfor %} {% for name, status in updatesList %}
{% if status.done %} {% set updateTextLabel = "UPDATE_NOTIFICATION_DONE" %} {{ updateTextLabel | translate({MODULE_NAME: name}) | safe }} {% else %} {% set updateTextLabel = "UPDATE_NOTIFICATION_ERROR" %} {{ updateTextLabel | translate({MODULE_NAME: name}) | safe }} {% endif %}
{% endfor %} {% endif %}