From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../templates/admin/auth/user/add_form.html | 36 ------------ .../templates/admin/auth/user/change_password.html | 68 ---------------------- 2 files changed, 104 deletions(-) delete mode 100644 lib/grappelli/templates/admin/auth/user/add_form.html delete mode 100644 lib/grappelli/templates/admin/auth/user/change_password.html (limited to 'lib/grappelli/templates/admin/auth') diff --git a/lib/grappelli/templates/admin/auth/user/add_form.html b/lib/grappelli/templates/admin/auth/user/add_form.html deleted file mode 100644 index 7431762..0000000 --- a/lib/grappelli/templates/admin/auth/user/add_form.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "admin/change_form.html" %} -{% load i18n %} - -{% comment %} -{% block after_field_sets %} -

{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}

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

{{ form.username.help_text }}

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

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

-
-
-
-{% endblock %} -{% endcomment %} diff --git a/lib/grappelli/templates/admin/auth/user/change_password.html b/lib/grappelli/templates/admin/auth/user/change_password.html deleted file mode 100644 index 0a82cf7..0000000 --- a/lib/grappelli/templates/admin/auth/user/change_password.html +++ /dev/null @@ -1,68 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n admin_modify adminmedia %} {# grp_csrf #} -{% block userlinks %} -{% url django-admindocs-docroot as docsroot %} - {% if docsroot %} -
  • - {% trans 'Documentation' %} -
  • - {% endif %} -
  • - {% trans 'Change password' %} -
  • -
  • - {% trans 'Log out' %} -
  • -{% endblock %} -{% block breadcrumbs %} - {% if not is_popup %} - - {% endif %} -{% endblock %} -{% block title %}{% trans 'Password change' %}{% endblock %} -{% block content-class %}content-grid{% endblock %} - -{% block content %} -{# TODO: French translations alre all mixed up with change "MY" password form ... #} -{#

    {% trans 'Password change' %}

    #} -
    -
    -

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

    - {% if form.errors %} -

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

    - {% endif %} -
    {% csrf_token %}{% block form_top %}{% endblock %} - {% if is_popup %}{% endif %} -
    -
    -
    -
    - {{ form.password1 }} - {{ form.password1.errors }} -
    -
    -
    -
    -
    - {{ form.password2 }} - {{ form.password2.errors }} -

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

    -
    -
    -
    -
    -
      -
    • -
    -
    -
    -
    -
    -{% endblock %} -- cgit v1.2.3-70-g09d2