{% extends 'base.html' %} {% load base_extras bootstrap %} {% block content %}

{{ title }}

{% for obj in objects %} {% if target_type == "BINARY" %} {% if obj.bundle %} {% with obj.bundle as bundle %} {% endwith %} {% endif %} {% endif %} {% if target_type == "BUNDLE" %} {% endif %} {% if target_type == "CERTIFICATE" %} {% if obj.organization %} {% endif %} {% if obj.organizational_unit %} {% endif %} {% endif %} {% if not forloop.last %} {% endif %} {% endfor %} {% if target_type == "TEAMID" %} {% endif %}
identifier {{ identifier }}
 
name {{ obj.name }}
path {{ obj.path|truncatechars_middle:80 }}
bundle id {{ bundle.bundle_id }}
bundle name {{ bundle.bundle_name }}
bundle path {{ bundle.bundle_path|default:"-"|truncatechars_middle:80 }}
bundle version {{ bundle.bundle_version_str|default:"-" }}
signed by {% if obj.signed_by %} {{ obj.signed_by.sha_256 }}
{{ obj.signed_by.common_name }} / {{ obj.signed_by.organizational_unit }} {% else %} - {% endif %}
id {{ obj.bundle_id|default:"-" }}
name {{ obj.name|default:"-" }}
version {{ obj.version|default:"-" }} / {{ obj.version_str|default:"-" }}
binary count {{ obj.binary_count }}
cn {{ obj.common_name }}
org {{ obj.organization }}
ou {{ obj.organizational_unit }}
validity {{ obj.valid_from|date:"Y-m-d" }} → {{ obj.valid_until|date:"Y-m-d" }}
 
Organization{{ objects|length|pluralize }}
    {% for obj in objects %}
  • {{ obj.organization|default:"-" }}
  • {% endfor %}
{% if events_url or store_links %}
{% if events_url %} Events {% endif %} {% for link, anchor_text in store_links %} {{ anchor_text }} {% endfor %}
{% endif %}

{{ rule_count }} Rule{{ rule_count|pluralize }}

{% if perms.santa.add_rule and add_rule_links %} {% endif %} {% if rule_count %} {% for rule in rules %} {% endfor %}
Configuration Ruleset Policy
{% if perms.santa.view_rule %} {{ rule.configuration }} {% else %} {{ rule.configuration }} {% endif %} {{ rule.ruleset|default:"-" }} {{ rule.get_policy_display }}
{% endif %} {% endblock %}