From 935ebc4e7a6992c7b492e104665d8db297236f2e Mon Sep 17 00:00:00 2001
From: Adam Palay
Date: Fri, 23 Aug 2013 10:03:33 -0400
Subject: [PATCH] remove unused registration templates
---
.../registration/change_password.html | 55 -----------------
lms/templates/registration/logged_out.html | 12 ----
lms/templates/registration/login.html | 28 ---------
lms/templates/registration/login_error.html | 0
lms/templates/registration/logout.html | 9 ---
.../registration/password_change_done.html | 15 -----
.../registration/password_change_form.html | 51 ----------------
.../registration/registration_complete.html | 9 ---
.../registration/registration_form.html | 59 -------------------
9 files changed, 238 deletions(-)
delete mode 100644 lms/templates/registration/change_password.html
delete mode 100644 lms/templates/registration/logged_out.html
delete mode 100644 lms/templates/registration/login.html
delete mode 100644 lms/templates/registration/login_error.html
delete mode 100644 lms/templates/registration/logout.html
delete mode 100644 lms/templates/registration/password_change_done.html
delete mode 100644 lms/templates/registration/password_change_form.html
delete mode 100644 lms/templates/registration/registration_complete.html
delete mode 100644 lms/templates/registration/registration_form.html
diff --git a/lms/templates/registration/change_password.html b/lms/templates/registration/change_password.html
deleted file mode 100644
index 5a2036d1dc..0000000000
--- a/lms/templates/registration/change_password.html
+++ /dev/null
@@ -1,55 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n admin_modify adminmedia %}
-{% load url from future %}
-{% block extrahead %}{{ block.super }}
-{% url 'admin:jsi18n' as jsi18nurl %}
-
-{% endblock %}
-{% block extrastyle %}{{ block.super }} {% endblock %}
-{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
-{% block breadcrumbs %}{% if not is_popup %}
-
-{% endif %}{% endblock %}
-{% block content %}
-{% endblock %}
diff --git a/lms/templates/registration/logged_out.html b/lms/templates/registration/logged_out.html
deleted file mode 100644
index d339ef0a49..0000000000
--- a/lms/templates/registration/logged_out.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-
-{% block breadcrumbs %}{% endblock %}
-
-{% block content %}
-
-{% trans "Thanks for spending some quality time with the Web site today." %}
-
-{% trans 'Log in again' %}
-
-{% endblock %}
diff --git a/lms/templates/registration/login.html b/lms/templates/registration/login.html
deleted file mode 100644
index d8fb92855e..0000000000
--- a/lms/templates/registration/login.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<%! from django.utils.translation import ugettext as _ %>
-{% extends "registration/base.html" %}
-
-{% block title %}${_("Log in")}{% endblock %}
-
-{% block content %}
-
-${_("Log in")}
-
-{% if form.errors %}
-${_("Please correct the errors below:")}
-{% endif %}
-
-
-{% endblock %}
-
-{% block content-related %}
-${_("If you don't have an account, you can {link_start}sign up{link_end} for one.").format(link_start='', link_end=' ')}
-{% endblock %}
diff --git a/lms/templates/registration/login_error.html b/lms/templates/registration/login_error.html
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/lms/templates/registration/logout.html b/lms/templates/registration/logout.html
deleted file mode 100644
index a3ff64507a..0000000000
--- a/lms/templates/registration/logout.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<%! from django.utils.translation import ugettext as _ %>
-{% extends "registration/base.html" %}
-
-{% block title %}${_("Logged out")}{% endblock %/}
-
-{% block content %}
-
${_("You've been logged out.")}
-${_("Thanks for stopping by; when you come back, don't forget to {link_start}log in{link_end} again.").format(link_start='', link_end=' ')}
-{% endblock %}
diff --git a/lms/templates/registration/password_change_done.html b/lms/templates/registration/password_change_done.html
deleted file mode 100644
index 0c0690d5e2..0000000000
--- a/lms/templates/registration/password_change_done.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-{% load url from future %}
-{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %}{% trans 'Change password' %} / {% trans 'Log out' %} {% endblock %}
-{% block breadcrumbs %}{% endblock %}
-
-{% block title %}{% trans 'Password change successful' %}{% endblock %}
-
-{% block content %}
-
-{% trans 'Password change successful' %}
-
-{% trans 'Your password was changed.' %}
-
-{% endblock %}
diff --git a/lms/templates/registration/password_change_form.html b/lms/templates/registration/password_change_form.html
deleted file mode 100644
index 23d6c1d8af..0000000000
--- a/lms/templates/registration/password_change_form.html
+++ /dev/null
@@ -1,51 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n adminmedia %}
-{% load url from future %}
-{% block extrastyle %}{{ block.super }} {% endblock %}
-{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %} {% trans 'Change password' %} / {% trans 'Log out' %} {% endblock %}
-{% block breadcrumbs %}{% endblock %}
-
-{% block title %}{% trans 'Password change' %}{% endblock %}
-
-{% block content %}
-
-{% endblock %}
diff --git a/lms/templates/registration/registration_complete.html b/lms/templates/registration/registration_complete.html
deleted file mode 100644
index d6f9a5659a..0000000000
--- a/lms/templates/registration/registration_complete.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends "registration/base.html" %}
-{% load i18n %}
-
-{% block title %}{% trans "Registration complete" %}{% endblock %}
-
-{% block content %}
-{% trans Check your email %}
-{% trans "An activation link has been sent to the email address you supplied, along with instructions for activating your account."%}
-{% endblock %}
\ No newline at end of file
diff --git a/lms/templates/registration/registration_form.html b/lms/templates/registration/registration_form.html
deleted file mode 100644
index f90392d73f..0000000000
--- a/lms/templates/registration/registration_form.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<%! from django.utils.translation import ugettext as _ %>
-{% extends "registration/base.html" %}
-
-{% block title %}${_("Sign up")}{% endblock %}
-
-{% block content %}
-
- {% if form.errors %}
- ${_("Please correct the errors below: {{ form.non_field_errors }}")}
- {% endif %}
-
- ${_("Create an account")}
-
-
-
- ${_("Email address:")}
- {% if form.email.errors %}
-
{{ form.email.errors.as_text }}
- {% endif %}
- {{ form.email }}
-
-
- ${_("Password:")}
- {% if form.password1.errors %}
-
{{ form.password1.errors.as_text }}
- {% endif %}
- {{ form.password1 }}
-
-
- ${_("Password (type again to catch typos):")}
- {% if form.password2.errors %}
-
{{ form.password2.errors.as_text }}
- {% endif %}
- {{ form.password2 }}
-
-
-
-
-{% endblock %}
-
-{% block content-related %}
-${_("Fill out the form to the left (all fields are required), and your "
-"account will be created; you'll be sent an email with instructions on how "
-"to finish your registration.")}
-
-${_("We'll only use your email to send you signup instructions. We hate spam "
-"as much as you do.")}
-
-${_("This account will let you log into the ticket tracker, claim tickets, "
-"and be exempt from spam filtering")}.
-{% endblock %}