# HG changeset patch # User Madhusudan.C.S # Date 1279621115 -19800 # Node ID 78dfa383f6a353e696f89848a8e2144a82d8f0fb # Parent 1b68c8aa6091721f4138df4b6a68189ca591d7c6 Changed the URLs to accommodate scope as the parameter. diff -r 1b68c8aa6091 -r 78dfa383f6a3 project/templates/_menu_user.html --- a/project/templates/_menu_user.html Tue Jul 20 15:46:53 2010 +0530 +++ b/project/templates/_menu_user.html Tue Jul 20 15:48:35 2010 +0530 @@ -6,14 +6,14 @@ {{ user.username }} {% endif %} | - My profile | + My profile | {% if user.is_superuser %} Administer | {% endif %} - Logout + Logout {% else %} - Login + Login {% endif %} diff -r 1b68c8aa6091 -r 78dfa383f6a3 project/templates/user/_usermenu.html --- a/project/templates/user/_usermenu.html Tue Jul 20 15:46:53 2010 +0530 +++ b/project/templates/user/_usermenu.html Tue Jul 20 15:48:35 2010 +0530 @@ -1,16 +1,16 @@
diff -r 1b68c8aa6091 -r 78dfa383f6a3 project/templates/user/account.html --- a/project/templates/user/account.html Tue Jul 20 15:46:53 2010 +0530 +++ b/project/templates/user/account.html Tue Jul 20 15:48:35 2010 +0530 @@ -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 -r 1b68c8aa6091 -r 78dfa383f6a3 project/templates/user/login.html --- a/project/templates/user/login.html Tue Jul 20 15:46:53 2010 +0530 +++ b/project/templates/user/login.html Tue Jul 20 15:48:35 2010 +0530 @@ -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 %}