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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/offering.html

  • Committer: Matt Giuca
  • Date: 2010-02-11 06:54:39 UTC
  • Revision ID: matt.giuca@gmail.com-20100211065439-kv2pi94cmz8a8dvu
All checks if a project deadline has passed call Project.has_deadline_passed, rather than manually checking with the current time. Important if the abstracted function changes to respect extensions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                </py:choose>
45
45
                &ndash;
46
46
                <span py:content="format_submission_principal(req.user, principal)" /> &ndash;
 
47
                <!-- XXX This deadline does not take the student's extensions into account. -->
47
48
                <span title="${format_datetime(project.deadline)}">
48
49
                  ${'closed' if project.has_deadline_passed(req.user) else 'due'} ${format_datetime_short(project.deadline)}
49
50
                </span>