{% load common %} {% for host in object_list %} {% endfor %}
HostnameUpdatesRunning KernelOSLast ReportReboot Status
{{ host }} {% with host.get_num_security_updates as tmp %}{% if tmp != 0 %}{{ tmp }}{% else %} {% endif %}{% endwith %} {% with host.get_num_bugfix_updates as tmp %}{% if tmp != 0 %}{{ tmp }}{% else %} {% endif %}{% endwith %} {{ host.kernel }} {{ host.os }} {{ host.lastreport }} {% yes_no_img host.reboot_required 'reversed' 'Not Required' 'Required' %}