From 826ba05ca4256034279e8ce5d75415dce9a392d8 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Sun, 3 May 2020 11:30:32 +0200 Subject: [PATCH] Remove legacy registration templates --- .../templates/registration/logged_out.html | 8 ------- .../core/templates/registration/login.html | 24 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 aleksis/core/templates/registration/logged_out.html delete mode 100644 aleksis/core/templates/registration/login.html diff --git a/aleksis/core/templates/registration/logged_out.html b/aleksis/core/templates/registration/logged_out.html deleted file mode 100644 index 6deffc3a0..000000000 --- a/aleksis/core/templates/registration/logged_out.html +++ /dev/null @@ -1,8 +0,0 @@ -{% include 'partials/header.html' %} - -<main> - <p class="flow-text">Du bist nun abgemeldet.</p> - <a href="{% url 'login' %}">Wieder anmelden?</a> -</main> - -{% include 'partials/footer.html' %} diff --git a/aleksis/core/templates/registration/login.html b/aleksis/core/templates/registration/login.html deleted file mode 100644 index e38f93a89..000000000 --- a/aleksis/core/templates/registration/login.html +++ /dev/null @@ -1,24 +0,0 @@ -{# -*- engine:django -*- #} -{% extends "core/base.html" %} -{% load material_form i18n %} - -{% block content %} - {% if next %} - {% if user.is_authenticated %} - <p> - Your account doesn't have access to this page. To proceed, - please login with an account that has access. - </p> - {% else %} - <p>Please login to see this page.</p> - {% endif %} - {% endif %} - - <form method="post" action="{% url 'login' %}"> - {% csrf_token %} - {% form form=form %}{% endform %} - <button type="submit" class="btn waves-effect waves-light green"> - {% blocktrans %}Login{% endblocktrans %} - </button> - </form> -{% endblock %} -- GitLab