admin: fix providers not showing SAML Import on empty state

This commit is contained in:
Jens Langhammer 2021-01-28 22:16:50 +01:00
parent f4bb22138c
commit da37b42bcf

View file

@ -160,6 +160,17 @@
</ak-modal-button>
</li>
{% endfor %}
<li>
<ak-modal-button href="{% url 'authentik_admin:provider-saml-from-metadata' %}">
<button slot="trigger" class="pf-c-dropdown__menu-item">
{% trans 'SAML Provider from Metadata' %}<br>
<small>
{% trans "Create a SAML Provider by importing its Metadata." %}
</small>
</button>
<div slot="modal"></div>
</ak-modal-button>
</li>
</ul>
</ak-dropdown>
</div>