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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/user.py

  • Committer: William Grant
  • Date: 2009-06-24 10:47:04 UTC
  • Revision ID: grantw@unimelb.edu.au-20090624104704-614jru0retkt5h5q
Kill Request.unmake_path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        return user
56
56
 
57
57
class UserSettingsView(XHTMLView):
58
 
    template = 'user-settings.html'
 
58
    template = 'templates/user-settings.html'
59
59
    tab = 'settings'
60
60
    permission = 'edit'
61
61
 
66
66
 
67
67
    def populate(self, req, ctx):
68
68
        self.plugin_scripts[Plugin] = ['settings.js']
69
 
        req.scripts_init = ['revert_settings']
 
69
        self.scripts_init = ['revert_settings']
70
70
 
71
71
        ctx['login'] = self.context.login
72
72