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

{{ title }}

{% if events_url %} {% button 'EVENTS' events_url %} {% endif %} {% for link, anchor_text in store_links %} {% button 'LINK' link anchor_text %} {% endfor %}
identifier {{ identifier }}
Info {% if prepared_objects %} {% for col in prepared_objects.cols %} {% endfor %} {% for row in prepared_objects.rows %} {% for val in row %} {% endfor %} {% endfor %}
{{ col }}
{{ val|default:"-" }}
{% else %} - {% endif %}
State{{ target_states|length|pluralize }} {% if target_states %} {% for target_state, reset_link in target_states %} {% endfor %}
Configuration State Score
{% if perms.santa.view_configuration %} {{ target_state.configuration }} {% else %} {{ target_state.configuration }} {% endif %} {{ target_state.get_state_display }} {{ target_state.score }} {% if reset_link %} Reset {% endif %}
{% else %} - {% endif %}
{% if show_ballots %}

{% if cast_ballot_url %} Cast a ballot {% else %} You cannot vote on this target {% endif %}

{% include "santa/_ballot_list.html" %}
{% endif %} {% if show_rules %}
{% 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 %}
{% endif %}
{% endblock %}