{% extends "layout.html" %} {% block content %} {% macro link(href,desc='') -%} {% if desc == '' %} {{href}} {% else%} {{desc}} {%endif%} {%- endmacro%}
{{c or "###"}} | {% endfor %}{{ _("Action") }} | {% for p in packages %} {%set package_version = p.asrequirement() %} {%set package_section = p.section %} {%if package_section != 'restricted' %} {%if p.install_status == 'OK'%} {%if p.install_version < p.version %}|||
---|---|---|---|---|
{%if c=='install_date' and p[c] %}
{{format_isodate(p[c])}}
{%elif c=='package'%}
{{link("/package_details?package="+package_version,p[c])}} {{p.version}} (by: {{p.signer}}) {{p.description}} {%else%} {{p[c] or ""}} {%endif%} |
{% endfor %}
{% if p.install_status and p.install_version == p.version %}
{{ _("Remove") }} | {% elif p.install_status and p.install_version > p.version %}{{ _("Downgrade") }} | {% elif p.install_status and p.install_version < p.version %}{{ _("Upgrade") }} | {% else %}{{ _("Install") }} | {% endif %}