{% set title = g.course.name %} {% extends "base.html" %} {% block body %} {% if g.is_admin %} {% endif %}
Topic | Deadline | Points | Max {% if is_grader %} | Action{% endif %} {% endif %} {% if last_posted != None and (last_seen == None or last_posted > last_seen) %} {% set cls = 'tnew' %} {% else %} {% set cls = 'told' %} {% endif %} |
---|---|---|---|---|
{{ t.title }} | {{ t.deadline|reltimeformat }} | {{ points if points != None else "" }} | {{ t.max_points if t.max_points != None else "" }} {% if is_grader %} | {% if t_is_grader %} Grade {% endif %} {% endif %} {% else %} {% if ns.have_table == True %} {% set ns.have_table = False %} |
Total number of points: {{ course_total }} out of {{ course_max }}. {% endif %} {% else %}
The course is empty. Come back in a couple of microfortnights. {% endif %} {% endblock %}