~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/html.py

  • Committer: William Grant
  • Date: 2009-01-20 01:12:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: grantw@unimelb.edu.au-20090120011232-mvxq6n1p8e0pq5z2
ivle.db: insert_problem_attempt and write_problem_save now take a user object,
    not a login, so they don't need to call get_user_loginid. Thus we also
    remove get_user_login_id.
www/apps/tutorialservice: Call the two functions with req.user, not
    req.user.login.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
            '    <a href="%s">Sign out</a>\n'
107
107
            '  </p>\n' %
108
108
            (cgi.escape(nickname), cgi.escape(req.user.login),
109
 
             cgi.escape(util.make_path(
110
 
                        os.path.join('~' + req.user.login, '+settings'))),
 
109
             cgi.escape(util.make_path('settings')),
111
110
             cgi.escape(get_help_url(req)),
112
111
             cgi.escape(util.make_path('logout'))))
113
112
    else: