{% extends 'matistikk/base.html' %} {% load static %} {% load bootstrap3 %} {% bootstrap_css %} {% bootstrap_javascript %} {% bootstrap_messages %} {% block head %} {% endblock %} {% block body %}

{{ taskcollection.test_name }}

ID: {{ taskcollection.id }}
Laget av: {{ taskcollection.author.get_full_name }}
{% bootstrap_messages %}
{% for test in publishedTests %} {% endfor %}
ID Publisert Svarfrist Tilfeldig rekkefølge Låst rekkefølge Alternativer
{{ test.id }} {{ test.published }} {% if test.dueDate %}{{ test.dueDate }}{% else %}Ingen svarfrist{% endif %} {% if test.randomOrder %}Ja{% else %}Nei{% endif %} {% if test.strictOrder %}Ja{% else %}Nei{% endif %}
{% for item in taskcollection.items.all %} {% endfor %}
ID Oppgavenavn Kategori Laget av Alternativer
{{ item.id }} {{ item.task.title }} {% for category in item.task.category.all %} {% if forloop.last %} {{ category }} {% else %} {{ category }} - {% endif %} {% endfor %} {{ item.task.author.get_full_name }}
{% endblock %} {% block modal %} {% include 'matistikk/previewTask.html' %} {% endblock %}