Update reddit template
This commit is contained in:
parent
0cf81e68d3
commit
cdc7ca90da
1 changed files with 8 additions and 5 deletions
|
|
@ -1,17 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<main id="settings--page" class="main">
|
||||
<main id="reddit--page" class="main">
|
||||
<section class="section text-section">
|
||||
{% if error %}
|
||||
<h1 class="h1">Reddit authorization failed</h1>
|
||||
<h1 class="h1">{% trans "Reddit authorization failed" %}</h1>
|
||||
<p>{{ error }}</p>
|
||||
{% elif access_token and refresh_token %}
|
||||
<h1 class="h1">Reddit account is linked</h1>
|
||||
<p>Your reddit account was successfully linked.</p>
|
||||
<h1 class="h1">{% trans "Reddit account is linked" %}</h1>
|
||||
<p>{% trans "Your reddit account was successfully linked." %}</p>
|
||||
{% endif %}
|
||||
|
||||
<p><a href="{% url 'accounts:settings' %}">Return to settings page</a></p>
|
||||
<p>
|
||||
<a class="link" href="{% url 'accounts:settings' %}">{% trans "Return to integrations page" %}</a>
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue