~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 09:32:27 UTC
  • Revision ID: matt.giuca@gmail.com-20100211093227-e9u8nil15w4kv5hh
Subject page: The tooltips on project due/submitted times, added the text 'Due', 'Closed' or 'Submitted', so it's clear what time you are looking at.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                –
46
46
                <span py:content="format_submission_principal(req.user, principal)" /> &ndash;
47
47
                <!-- XXX This deadline does not take the student's extensions into account. -->
48
 
                <span title="${format_datetime(project.deadline)}">
 
48
                <span title="${'Closed' if project.has_deadline_passed(req.user) else 'Due'}: ${format_datetime(project.deadline)}">
49
49
                  ${'closed' if project.has_deadline_passed(req.user) else 'due'} ${format_datetime_short(project.deadline)}
50
50
                </span>
51
51
                <py:if test="principal is not None"
57
57
                    </span>
58
58
                    <span py:otherwise=""
59
59
                          py:with="latest = submissions.last()"
60
 
                          title="${format_datetime(latest.date_submitted)}">
 
60
                          title="Submitted: ${format_datetime(latest.date_submitted)}">
61
61
                      last submitted ${format_datetime_short(latest.date_submitted)}
62
62
                      <a class="verifyaction" href="${latest.get_verify_url(req.user)}">Verify</a>
63
63
                    </span>