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

{% trans 'Providers' %}

{% trans "Provide support for protocols like SAML and OAuth to assigned applications." %}

{% if object_list %}
{% include 'partials/toolbar_search.html' %}
{% include 'partials/pagination.html' %}
{% for provider in object_list %} {% endfor %}
{% trans 'Name' %} {% trans 'Type' %}
{{ provider.name }}
{% if not provider.application %} {% trans 'Warning: Provider not assigned to any application.' %} {% else %} {% blocktrans with app=provider.application %} Assigned to application {{ app }}. {% endblocktrans %} {% endif %}
{{ provider|verbose_name }} {% trans 'Edit' %} {% trans 'Delete' %} {% get_links provider as links %} {% for name, href in links.items %} {% trans name %} {% endfor %} {% get_htmls provider as htmls %} {% for html in htmls %} {{ html|safe }} {% endfor %}
{% include 'partials/pagination.html' %}
{% else %}
{% include 'partials/toolbar_search.html' %}

{% trans 'No Providers.' %}

{% if request.GET.search != "" %} {% trans "Your search query doesn't match any providers." %} {% else %} {% trans 'Currently no providers exist. Click the button below to create one.' %} {% endif %}
{% endif %}
{% endblock %}