mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Added an button to connect the oauth providers from WebUI
This commit is contained in:
parent
c203de082e
commit
f7648e3311
6 changed files with 28 additions and 4 deletions
|
@ -30,6 +30,10 @@
|
|||
{{ capability.translationKey|trans }}
|
||||
</span>
|
||||
{% endfor %}
|
||||
{% if provider.providerInfo.oauth_app_name is defined and provider.providerInfo.oauth_app_name is not empty %}
|
||||
<br>
|
||||
<a href="{{ path('oauth_client_connect', {'name': provider.providerInfo.oauth_app_name}) }}" target="_blank" class="btn btn-outline-secondary btn-sm mt-2">{% trans %}oauth_client.connect.btn{% endtrans %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% if provider.active == false %}
|
||||
|
@ -42,7 +46,6 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue