{% extends "layout/basic.html" %} {% block content %}

{{ _('Activity / inactive students') }}

« {{ _('Submission Statistics') }}
{% if groups.length %} {% endif %}

{{ _('{0} students have not connected in the last {1} days.').format(inactiveCount, inactiveDays) }}

{% if inactiveCount %}
{% endif %}
{%- for r in rows -%} {%- endfor -%} {%- if not rows.length -%} {%- endif -%}
{{ _('Username') }} {{ _('Last login') }} {{ _('Submissions') }} {{ _('Last submission') }} {{ _('Status') }}
{{ r.uname }} {% if r.loginat %}{{ datetimeSpan(r.loginat)|safe }}{% else %}—{% endif %} {{ r.submissions }} {% if r.lastSub %}{{ datetimeSpan(r.lastSub)|safe }}{% else %}—{% endif %} {% if r.inactive %}{{ _('Inactive') }}{% else %}{{ _('Active') }}{% endif %}
{{ _('No students') }}
{% endblock %}