mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-30 20:26:53 +00:00
30 lines
711 B
HTML
30 lines
711 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% load i18n %}
|
||
|
|
||
|
{% block title %}
|
||
|
Success code={{code}}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="card">
|
||
|
<h3 class="card-header text-center">
|
||
|
{% if not error %}
|
||
|
{% trans "Success" %}
|
||
|
{% else %}
|
||
|
{% trans "Error:" %} {{ error.error }}
|
||
|
{% endif %}
|
||
|
</h3>
|
||
|
|
||
|
<div class="card-body">
|
||
|
{% if not error %}
|
||
|
<p>{% trans "Please return to your application and enter this code:" %}</p>
|
||
|
|
||
|
<p><code>{{ code }}</code></p>
|
||
|
{% else %}
|
||
|
<p>{{ error.description }}</p>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|