~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-29 11:53:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1324.
  • Revision ID: grantw@unimelb.edu.au-20090629115317-zg1nbki2hev3kbub
Display account/password expiry times on +edit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from ivle.webapp.base.plugins import ViewPlugin, MediaPlugin
27
27
from ivle.webapp.errors import NotFound, Unauthorized
28
28
import ivle.database
 
29
import ivle.date
29
30
import ivle.util
30
31
 
31
32
# List of fields returned as part of the user JSON dictionary
112
113
                   }
113
114
            errors = {}
114
115
 
 
116
        ctx['format_datetime'] = ivle.date.make_date_nice
 
117
        ctx['format_datetime_short'] = ivle.date.format_datetime_for_paragraph
 
118
 
115
119
        ctx['req'] = req
116
120
        ctx['user'] = self.context
117
121
        ctx['data'] = data