From 957a80c90bf4e84aed60d577fe0368ba4c591349 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Tue, 20 Jul 2010 15:48:35 +0530 Subject: Changed the URLs to accommodate scope as the parameter. --- project/templates/_menu_user.html | 6 +-- project/templates/user/_usermenu.html | 8 ++-- project/templates/user/account.html | 8 ++-- project/templates/user/login.html | 70 +++++++++++++++-------------------- 4 files changed, 41 insertions(+), 51 deletions(-) (limited to 'project/templates') diff --git a/project/templates/_menu_user.html b/project/templates/_menu_user.html index 6041d00..ec5df0c 100644 --- a/project/templates/_menu_user.html +++ b/project/templates/_menu_user.html @@ -6,14 +6,14 @@ {{ user.username }} {% endif %} | - My profile | + My profile | {% if user.is_superuser %} Administer | {% endif %} - Logout + Logout {% else %} - Login + Login {% endif %} diff --git a/project/templates/user/_usermenu.html b/project/templates/user/_usermenu.html index 6f5a8d0..0360393 100644 --- a/project/templates/user/_usermenu.html +++ b/project/templates/user/_usermenu.html @@ -1,16 +1,16 @@
diff --git a/project/templates/user/account.html b/project/templates/user/account.html index 24d320a..cd9ca3e 100644 --- a/project/templates/user/account.html +++ b/project/templates/user/account.html @@ -1,6 +1,8 @@ {% extends "base.html" %} -
  • kauaerangastore@xtra.co.nz
  • + {% block title %}My Profile{% endblock %} @@ -25,7 +27,7 @@ {{ user.get_full_name }} {% else %} No name, please edit profile. + href="{% url scipycon_edit_profile params.scope %}">edit profile. {% endif %} diff --git a/project/templates/user/login.html b/project/templates/user/login.html index 65e8727..ad9392a 100644 --- a/project/templates/user/login.html +++ b/project/templates/user/login.html @@ -9,36 +9,31 @@

    Login

    - Log in for registered users of the site. + Log in for registered users of the site.
    - - {{ login_form }} - - - - -
    - Forgot password? -
    - - - - - - + + {{ login_form }} + + + + +
    + + Forgot password? + +
    + + + + + +
    @@ -50,23 +45,16 @@ If you are not already a member of the site you can register here. -
    - - {{ register_form }} -
    - - - - - + + + {{ register_form }} +
    + + + + + +
    {% endblock content %} -- cgit