{% extends "base.html" %}
{% load url from future %}
{% load i18n %}
{% load staticfiles %}
{% load manager_extras %}

{% block title %}{% trans "Pending exercises" %}{% endblock %}


{% block content %}

<table>
<thead>
<tr>
    <th>{% trans "Submission date" %}</th>
    <th>{% trans "Name" %}</th>
    <th>{% trans "User" %}</th>
</tr>
</thead>
<tbody>
{% for exercise in exercise_list %}
<tr>
    <td>
        {{exercise.creation_date}}
    </td>
    <td><a href="{{ exercise.get_absolute_url }}">{{exercise.name}}</a></td>
    <td>{{exercise.user.username}}</td>
</tr>
{% empty %}
<tr>
    <td colspan="2">{% trans "No pending exercises at the moment" %}</td>
</tr>
{% endfor %}
</tbody>

</table>
<div style="padding-top:3em;"></div>
{% endblock %}
