{% extends "touchtechnology/admin/explorer/list.inc.html" %} {% load i18n common admin admin_explorer %} {# The admin's stock list reverses its add link by nesting the child's namespace under the parent's. This component's URL namespaces are flat, so the add link is built here from the school year on the page. The tab is also shown on the grade and teacher pages, which have no year to add a class to, so it has no add link there. #} {% block actions %} {% if year %} {% icon "plus" %}{% blocktrans with type=model|type %}Add {{ type }}{% endblocktrans %} {% endif %} {% endblock actions %} {% block table-row-empty %} {% trans "Nothing here yet." %} {% if year %}{% trans "Add one" %}{% endif %} {% endblock table-row-empty %}