Skip to content
Snippets Groups Projects
Commit 8337b07c authored by permcu's avatar permcu
Browse files

Guard against extra_mark is None

parent 45714ec8
No related branches found
No related tags found
1 merge request!422Resolve "Add export functionality to course book"
......@@ -129,7 +129,9 @@
{{ note.documentation.subject.short_name }}
</td>
<td>{{ note.documentation.get_teachers_short_names|join:', ' }}</td>
<td>{{ note.extra_mark.short_name }}</td>
{% if note.extra_mark %}
<td>{{ note.extra_mark.short_name }}</td>
{% endif %}
<td>{{ note.note }}</td>
</tr>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment