{% set title = g.course.name %} {% extends "base.html" %} {% import "parts/navigation.html" as nav %} {% block body %}
| Topic | Deadline | Points | Max {% if is_grader %} | Action{% endif %} {% endif %} {% if not t.public %} {% set cls = 'thidden' %} {% elif e.last_posted != None and (e.last_seen == None or e.last_posted > e.last_seen) %} {% set cls = 'tnew' %} {% else %} {% set cls = 'told' %} {% endif %} | |
|---|---|---|---|---|---|
| {{ t.title }} | {{ t.deadline|reltimeformat }} {% set pcls=[] %} {% if t.binary_result %} {% do pcls.append('pts-binary') %} {% else %} {% do pcls.append('pts') %} {% endif %} {% if e.auto %} {% do pcls.append('pauto') %} {% endif %} {% set score = e.score %} {% set pts = "" %} {% if score != None %} {% if score.sign != None %} {% set pts = score.sign %} {% else %} {% set pts = score.points %} {% endif %} {% elif e.auto %} {% set pts = "⚖" %} {% endif %} | {{ pts }} {% if t.binary_result and t.standalone %} | {% else %} | {{ t.max_points if t.max_points != None else "" }} {% endif %} {% if is_grader %} | {% if e.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 }} possible. {% if g.course.pass_threshold != None %}
{% if course_total >= g.course.pass_threshold %} You passed course requirements ({{ g.course.pass_threshold }}). {% else %} You need to get {{ g.course.pass_threshold }} points to pass the course. {% endif %} {% endif %} {% endif %} {% else %}
The course is empty. Come back in a couple of millifortnights. {% endif %} {% if not g.is_teacher %} {% endif %} {% endblock %}