Skip to content
Snippets Groups Projects

Student grading

Merged
Martin Marešrequested to merge
student-grading into master
3 open threads
4 files
+ 56
13
Compare changes
  • Side-by-side
  • Inline

Files

+ 6
0
@@ -23,6 +23,7 @@
{% set ns.have_table = True %}
<table class=topics>
<tr><th>Topic<th>Deadline<th>Points<th>Max
{% if is_grader %}<th>Action{% endif %}
{% endif %}
{% if t.last_posted != None and (t.last_seen == None or t.last_posted > t.last_seen) %}
{% set cls = 'tnew' %}
@@ -33,6 +34,11 @@
<td>{{ t.deadline|reltimeformat }}
<td class=pts>{{ t.points if t.points != None else "" }}
<td class=pts>{{ t.max_points if t.max_points != None else "" }}
{% if is_grader %}
<td>{% if t.is_grader %}
<a href="{{ url_for('topic_student_grade', cident=g.course.ident, tident=t.ident) }}">Grade</a>
{% endif %}
{% endif %}
{% else %}
{% if ns.have_table == True %}
{% set ns.have_table = False %}
Loading