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 %}
-
{% csrf_token %}{% block form_top %}{% endblock %} -
-{% if is_popup %}{% endif %} -{% if form.errors %} -

- {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

-{% endif %} - -

{% blocktrans with original.username as username %}Enter a new password for the user {{ username }}.{% endblocktrans %}

- -
- -
- {{ form.password1.errors }} - {# TODO: get required class on label_tag #} - {{ form.password1 }} -
- -
- {{ form.password2.errors }} - {# TODO: get required class on label_tag #} - {{ form.password2 }} -

{% trans 'Enter the same password as above, for verification.' %}

-
- -
- -
- -
- - -
-
-{% 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 %} - -
-{% csrf_token %} -
-
{% if form.username.errors %} {{ form.username.errors|join:", " }}{% endif %}
-
{{ form.username }}
-
{% if form.password.errors %} {{ form.password.errors|join:", " }}{% endif %}
-
{{ form.password }}
-
-
-
-{% 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 %}
- -
{% csrf_token %} -
-{% if form.errors %} -

- {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

-{% endif %} - -

{% trans 'Password change' %}

- -

{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}

- -
- -
- {{ form.old_password.errors }} - {{ form.old_password }} -
- -
- {{ form.new_password1.errors }} - {{ form.new_password1 }} -
- -
-{{ form.new_password2.errors }} - {{ form.new_password2 }} -
- -
- -
- -
- - -
-
- -{% 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")}

- -
-{% csrf_token %} -

- - {% if form.username.errors %} -

{{ form.username.errors.as_text }}

- {% endif %} - {{ form.username }} -

-

- - {% if form.email.errors %} -

{{ form.email.errors.as_text }}

- {% endif %} - {{ form.email }} -

-

- - {% if form.password1.errors %} -

{{ form.password1.errors.as_text }}

- {% endif %} - {{ form.password1 }} -

-

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