{% extends "base.html" %} {% load i18n %} {% load url from future %} {% block title %}{% trans "Updates for" %} {{ host.name }}{% endblock %} {% block heading %}{{ host.name }}: {% trans "Host information" %}{% endblock %} {% block content %}

{% trans "System information" %}

{% for attr in system|dictsort:"name" %} {% if attr.value %} {% endif %} {% endfor %}
{{ attr.name }} {{ attr.value }}
{% trans "Last updated" %} {{ host.updated_at|timesince }}

{% trans "Location information" %}

{% for attr in location|dictsort:"name" %} {% if attr.value %} {% endif %} {% endfor %}
{{ attr.name }} {% if attr.link %} {{ attr.value }} {% else %} {{ attr.value }} {% endif %}

{% trans "Network information" %}
Toggle

{% for iface in interfaces %} {% endfor %}
{% trans "Interface name" %} {% trans "IPv4 Address" %} {% trans "IPv6 Address" %} {% trans "MAC Address" %}
{{iface.iface}} {% if iface.ipaddr %}{{iface.ipaddr}}{% else %}—{% endif %} {% if iface.ipaddr6 %}{{iface.ipaddr6}}{% else %}—{% endif %} {% if iface.mac %}{{iface.mac}}{% else %}—{% endif %}

{% trans "Available package updates" %}

{% if updates %} {% for update in updates %} {% endfor %}
{% trans "Package name" %} {% trans "Installed Version" %} {% trans "Available Version" %} {% trans "Security Update" %}
{{ update.package.name }} {% if update.installedVersion %}{{ update.installedVersion }}{% else %}{% endif %} {% if update.get_changelog_url %} {{ update.candidateVersion }} {% else %} {{ update.candidateVersion }} {% endif %} {% if update.is_security %} {% trans {% endif %}
{% else %}
{% blocktrans with host.name as hostname %} No updated versions found for packages on {{ hostname }} {% endblocktrans %}
{% endif %} {% endblock %}