Skip to content
Snippets Groups Projects

Student grading

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

Files

+ 6
0
@@ -23,6 +23,7 @@
@@ -23,6 +23,7 @@
{% set ns.have_table = True %}
{% set ns.have_table = True %}
<table class=topics>
<table class=topics>
<tr><th>Topic<th>Deadline<th>Points<th>Max
<tr><th>Topic<th>Deadline<th>Points<th>Max
 
{% if is_grader %}<th>Action{% endif %}
{% endif %}
{% endif %}
{% if t.last_posted != None and (t.last_seen == None or t.last_posted > t.last_seen) %}
{% if t.last_posted != None and (t.last_seen == None or t.last_posted > t.last_seen) %}
{% set cls = 'tnew' %}
{% set cls = 'tnew' %}
@@ -33,6 +34,11 @@
@@ -33,6 +34,11 @@
<td>{{ t.deadline|reltimeformat }}
<td>{{ t.deadline|reltimeformat }}
<td class=pts>{{ t.points if t.points != None else "" }}
<td class=pts>{{ t.points if t.points != None else "" }}
<td class=pts>{{ t.max_points if t.max_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 %}
{% else %}
{% if ns.have_table == True %}
{% if ns.have_table == True %}
{% set ns.have_table = False %}
{% set ns.have_table = False %}
Loading