show warning on authorize page for non-approved app

This commit is contained in:
Son NK 2021-04-01 10:50:37 +02:00
parent bbfb69d774
commit 7d4e1048af

View file

@ -32,7 +32,14 @@
{% endblock %}
{% block default_content %}
<form class="card" method="post" style="max-width: 40rem; margin: auto">
{% if not client.approved %}
<div class="alert alert-warning" style="border-bottom: 3px solid;">
{{ client.name }} is in Test Mode.
</div>
{% endif %}
<div class="card-body p-6">
<!-- User has already authorized this client -->
{% if client_user %}