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" %} {% extends "base.html" %}
{% load i18n %}
{% block content %} {% block content %}
<main id="settings--page" class="main"> <main id="reddit--page" class="main">
<section class="section text-section"> <section class="section text-section">
{% if error %} {% if error %}
<h1 class="h1">Reddit authorization failed</h1> <h1 class="h1">{% trans "Reddit authorization failed" %}</h1>
<p>{{ error }}</p> <p>{{ error }}</p>
{% elif access_token and refresh_token %} {% elif access_token and refresh_token %}
<h1 class="h1">Reddit account is linked</h1> <h1 class="h1">{% trans "Reddit account is linked" %}</h1>
<p>Your reddit account was successfully linked.</p> <p>{% trans "Your reddit account was successfully linked." %}</p>
{% endif %} {% 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> </section>
</main> </main>
{% endblock %} {% endblock %}