{% extends "administration/base.html" %} {% load i18n %} {% load passbook_utils %} {% block content %}

{% trans 'Policies' %}

{% trans "Allow users to use Applications based on properties, enforce Password Criteria and selectively apply Stages." %}

{% if object_list %}
{% include 'partials/pagination.html' %}
{% for policy in object_list %} {% endfor %}
{% trans 'Name' %} {% trans 'Type' %}
{{ policy.name }}
{% if not policy.bindings.exists and not policy.promptstage_set.exists %} {% trans 'Warning: Policy is not assigned.' %} {% else %} {% blocktrans with object_count=policy.bindings.all|length %}Assigned to {{ object_count }} objects.{% endblocktrans %} {% endif %}
{{ policy|verbose_name }} {% trans 'Edit' %} {% trans 'Test' %} {% trans 'Delete' %}
{% include 'partials/pagination.html' %}
{% else %}

{% trans 'No Policies.' %}

{% trans 'Currently no policies exist. Click the button below to create one.' %}
{% endif %}
{% endblock %}