{% extends "admin/change_list.html" %}
{% load i18n admin_urls admin_static admin_list %}
{% block object-tools-items %}
    <style type="text/css">
        .field-access_key {
            font-size: 10px;
        }
    </style>
{{ block.super }}
    {% if has_add_permission %}
    {% url opts|admin_urlname:'bulk' as add_url %}
    {% if cl.model_admin.uses_sso %}
        <li>
        <a href="{% add_preserved_filters add_url is_popup %}?sso" class="addlink">
                {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }} from SSO provider{% endblocktrans %}
            </a>
        </li>
    {% endif %}

    <li class="display-for-clerk">
        <a href="{% add_preserved_filters add_url is_popup %}" class="addlink">
            {% blocktrans with cl.opts.verbose_name as name %}Add unbound {{ name }}{% endblocktrans %}
        </a>
    </li>
    {% endif %}
{% endblock %}

{% extends "admin/change_list.html" %}
{% load i18n admin_urls admin_static admin_list %}
{% block object-tools-items %}
    <style type="text/css">
        .field-access_key {
            font-size: 10px;
        }
    </style>
{{ block.super }}
    {% if has_add_permission %}
    {% url opts|admin_urlname:'add' as add_sso_url %}{# TODO: Change to "sso" and implement the view in admin. #}
    {% url opts|admin_urlname:'bulk' as add_bulk_url %}
    {% if cl.model_admin.uses_sso %}
        <li>
        <a href="{% add_preserved_filters add_sso_url is_popup %}?sso" class="addlink">
                {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }} from SSO provider{% endblocktrans %}
            </a>
        </li>
    {% endif %}

    <li class="display-for-clerk">
        <a href="{% add_preserved_filters add_bulk_url is_popup %}" class="addlink">
            {% blocktrans with cl.opts.verbose_name as name %}Add unbound {{ name }}{% endblocktrans %}
        </a>
    </li>
    {% endif %}
{% endblock %}

Fix SSO clerk import form not being shown.
Fix SSO clerk import form not being shown.
