Merge WTEM support into master
[edumed.git] / wtem / templates / admin / wtem / submission / change_list.html
diff --git a/wtem/templates/admin/wtem/submission/change_list.html b/wtem/templates/admin/wtem/submission/change_list.html
new file mode 100644 (file)
index 0000000..e73e9bc
--- /dev/null
@@ -0,0 +1,24 @@
+{% extends "admin/change_list.html" %}
+{% load i18n %}
+{% load admin_urls %}
+
+
+{% block object-tools-items %}
+    {{block.super}}
+    <li>
+        <a href="{% url 'admin:wtem_admin_report' %}">
+            Wyniki w CSV
+        </a>
+    </li>
+{% endblock %}
+
+{% block result_list %}
+    {% if examiners %}
+        <p>
+        {% for examiner in examiners %}
+            {{examiner.name}}: {{examiner.todo}} {% if not forloop.last %}, {% endif %}
+        {% endfor %}
+    </p>
+    {% endif %}
+    {{block.super}}
+{% endblock %}
\ No newline at end of file