{% extends "base.html" %} {% block title %}Submissions — {{ assignment.title }}{% endblock %} {% if user.is_teacher %}{% block nav_teacher_courses %}active{% endblock %} {% else %}{% block nav_courses %}active{% endblock %}{% endif %} {% block content %} {% if assignment.description %}

{{ assignment.description }}

{% endif %}
{% csrf_token %}
Student Submissions
{% if submissions %}
{% for sub in submissions %} {% endfor %}
Student Submitted File Notes Grade Feedback
{{ sub.student.get_full_name }}
{% if sub.is_late %} Late {% endif %}
{{ sub.submitted_at|date:"d M Y, H:i" }} {% if sub.file %} Download {% else %} No file {% endif %} {{ sub.notes|default:"—"|truncatechars:60 }} {% if sub.grade %}
{{ sub.grade }} {% if sub.graded_at %}{{ sub.graded_at|date:"d M" }}{% endif %}
{% endif %}
{% else %}

No submissions yet.

{% endif %}
{% endblock %}