diff --git a/generic/templates/generic/base.html b/generic/templates/generic/base.html index 88b8cac6..65e3277e 100755 --- a/generic/templates/generic/base.html +++ b/generic/templates/generic/base.html @@ -29,6 +29,8 @@
diff --git a/generic/templates/generic/import_exam_answers_preview.html b/generic/templates/generic/import_exam_answers_preview.html new file mode 100644 index 00000000..079580e6 --- /dev/null +++ b/generic/templates/generic/import_exam_answers_preview.html @@ -0,0 +1,76 @@ +{% extends 'generic/base.html' %} + +{% block content %} ++ Review the changes below before confirming the import. Existing database answers will be overwritten. +
+ +| Question ID | +Part (qidn) | +File Answer (To Import) | +Database Answer (To Overwrite) | +Action | +
|---|---|---|---|---|
| {{ item.qid }} | +{{ item.qidn }} | +{{ item.posted }} |
+
+ {% if item.existing %}
+ {{ item.existing }}
+ {% else %}
+ - None -
+ {% endif %}
+ |
+ + {% if item.action == "Update" %} + Overwrite (Update) + {% else %} + New (Create) + {% endif %} + | +