sources/oauth: fix buttons not being ak-root-link
This commit is contained in:
parent
d99a415502
commit
bba43c5109
|
@ -9,13 +9,13 @@
|
||||||
<div class="pf-c-card__body">
|
<div class="pf-c-card__body">
|
||||||
{% if connections.exists %}
|
{% if connections.exists %}
|
||||||
<p>{% trans 'Connected.' %}</p>
|
<p>{% trans 'Connected.' %}</p>
|
||||||
<a class="pf-c-button pf-m-danger"
|
<a class="pf-c-button pf-m-danger ak-root-link"
|
||||||
href="{% url 'authentik_sources_oauth:oauth-client-disconnect' source_slug=source.slug %}">
|
href="{% url 'authentik_sources_oauth:oauth-client-disconnect' source_slug=source.slug %}">
|
||||||
{% trans 'Disconnect' %}
|
{% trans 'Disconnect' %}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Not connected.</p>
|
<p>Not connected.</p>
|
||||||
<a class="pf-c-button pf-m-primary"
|
<a class="pf-c-button pf-m-primary ak-root-link"
|
||||||
href="{% url 'authentik_sources_oauth:oauth-client-login' source_slug=source.slug %}">
|
href="{% url 'authentik_sources_oauth:oauth-client-login' source_slug=source.slug %}">
|
||||||
{% trans 'Connect' %}
|
{% trans 'Connect' %}
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in New Issue