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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-12-16 04:48:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1450.
  • Revision ID: me@williamgrant.id.au-20091216044832-rvx6yc01i2n83iad
Add a nice padded list of projects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        ctx['context'] = self.context
86
86
        ctx['req'] = req
87
87
        ctx['permissions'] = self.context.get_permissions(req.user)
 
88
        ctx['format_datetime'] = ivle.date.make_date_nice
 
89
        ctx['format_datetime_short'] = ivle.date.format_datetime_for_paragraph
88
90
 
89
91
 
90
92
class UserValidator(formencode.FancyValidator):