{% if security_issues %}
Your site {{ site }} has pending security updates.
{% if security_issues|length > 1 %}
Affected packages are
{% for package in security_issues %}
{{ package.package }}{% if forloop.revcounter > 2 %}, {% elif forloop.revcounter == 2 %} and {% endif %}
{% endfor %}.
{% else %}The affected package is {{ security_issues.0.package }}.{% endif %}
|
{% elif updates %}
There are {{ updates|length }} updates available on {{ site }}
|
{% endif %}
{% if security_issues %}
Security Issues
|
{% for package in security_issues %}
Package: {{ package.package }}
Used Version: {{ package.used_version }}
{% if package.end_of_life %}
{{ package.package }} {{ package.used_version }} is no longer supported and won't receive security fixes.
{% endif %}
{% for release in package.security_releases %}
Release: {{ release.version }}
Fixes:
{% for fix in release.fixes %}
- {{ fix }}
{% endfor %}
{% endfor %}
|
{% endfor %}
|
{% endif %}
{% if updates %}
Available Updates
|
{% for package in updates %}
{% if package.latest_version != package.used_version %}
{{ package.package }}: {{ package.used_version }} -> {{ package.latest_version }}
{% endif %}
{% endfor %}
|
|
{% endif %}