{% extends "base.html" %} {% load common %} {% block page_title %}Patchman Dashboard{% endblock %} {% block content_title %} Patch Management Dashboard for {{ site.name }} {% endblock %} {% block content %} {% with count=lonely_oses.count %} {% if lonely_oses.count > 0 %}
{% gen_table lonely_oses %}
{% endif %} {% endwith %} {% with count=nohost_oses.count %} {% if nohost_oses.count > 0 %}
{% gen_table nohost_oses %}
{% endif %} {% endwith %} {% with count=norepo_osgroups.count %} {% if count > 0 and norepo_osgroups != None %}
{% gen_table norepo_osgroups %}
{% endif %} {% endwith %} {% with count=stale_hosts.count %} {% if count > 0 %}
{% gen_table stale_hosts %}
{% endif %} {% endwith %} {% with count=reboot_hosts.count %} {% if count > 0 %}
{% gen_table reboot_hosts %}
{% endif %} {% endwith %} {% with count=secupdate_hosts.count %} {% if count > 0 %}
{% gen_table secupdate_hosts %}
{% endif %} {% endwith %} {% with count=bugupdate_hosts.count %} {% if count > 0 %}
{% gen_table bugupdate_hosts %}
{% endif %} {% endwith %} {% with count=norepo_hosts.count %} {% if count > 0 %}
{% gen_table norepo_hosts %}
{% endif %} {% endwith %} {% with count=diff_rdns_hosts.count %} {% if count > 0 %}
{% gen_table diff_rdns_hosts %}
{% endif %} {% endwith %} {% with count=failed_mirrors.count %} {% if count > 0 %}
{% gen_table failed_mirrors %}
{% endif %} {% endwith %} {% with count=disabled_mirrors.count %} {% if count > 0 %}
{% gen_table disabled_mirrors %}
{% endif %} {% endwith %} {% with count=norefresh_mirrors.count %} {% if count > 0 %}
{% gen_table norefresh_mirrors %}
{% endif %} {% endwith %} {% with count=failed_repos.count %} {% if count > 0 %}
{% gen_table failed_repos %}
{% endif %} {% endwith %} {% with count=unused_repos.count %} {% if count > 0 %}
{% gen_table unused_repos %}
{% endif %} {% endwith %} {% with count=nomirror_repos.count %} {% if count > 0 %}
{% gen_table nomirror_repos %}
{% endif %} {% endwith %} {% with count=nohost_repos.count %} {% if count > 0 %}
{% gen_table nohost_repos %}
{% endif %} {% endwith %} {% with count=possible_mirrors|length %} {% if count > 0 %}
{% for checksum in possible_mirrors %} {{ checksum }} {% endfor %}
{% endif %} {% endwith %} {% with count=norepo_packages.count %} {% if count > 0 %}
{% for package in norepo_packages %} {{ package }} {% endfor %}
{% endif %} {% endwith %} {% with count=orphaned_packages.count %} {% if count < 0 %}
{% for package in orphaned_packages %} {{ package }} {% endfor %}
{% endif %} {% endwith %} {% with count=unprocessed_reports.count %} {% if count < 0 %}
{% gen_table unprocessed_reports %}
{% endif %} {% endwith %} {% endblock %}