Update available: {{ update_notice.message or 'A new update is available.' }}
{% if update_notice.kind == 'git' %}Open App updates{% endif %}
{% if update_notice.url %}View details{% endif %}
{% endif %}
{% if show_update_modal and update_notice and update_notice.update_available %}
Update available
{{ update_notice.message or 'A newer version is available.' }}
Runtime data (DB, exports, invoices, data directory) is preserved. A restart is required after updating.
{% if update_notice.kind == 'git' %}Git/source install: the app can try to apply a safe fast-forward update now (unlock required). If local source changes exist, apply from Settings → Updates after resolving them.
{% else %}Native/release install: automatic in-place replacement is not performed. Download/install the latest release for your platform, then restart the app.
{% endif %}
{% if update_notice.url %}Download / details{% endif %}
Open Updates
{{ f.message }}
{% endfor %}
{% block content %}{% endblock %}