Update reddit template

This commit is contained in:
Sonny Bakker 2020-09-16 22:54:10 +02:00
parent 0cf81e68d3
commit cdc7ca90da

View file

@ -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 %}