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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/__init__.py

  • Committer: Matt Giuca
  • Date: 2009-04-07 10:38:03 UTC
  • Revision ID: matt.giuca@gmail.com-20090407103803-4hver4tlgrjdm9mv
submit: Added tooltip for the due date (which displays the whole date, while
    the page summarises it if it's close to the deadline).

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        ctx['offering'] = self.offering
98
98
        ctx['path'] = self.path
99
99
        ctx['now'] = datetime.datetime.now()
100
 
        ctx['format_datetime'] = ivle.date.format_datetime_for_paragraph
 
100
        ctx['format_datetime'] = ivle.date.make_date_nice
 
101
        ctx['format_datetime_short'] = ivle.date.format_datetime_for_paragraph
101
102
 
102
103
 
103
104
class UserSubmitView(SubmitView):