summaryrefslogtreecommitdiff
path: root/tpl/study/batch_review.php
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2013-08-10 17:15:22 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2013-08-10 17:15:22 +0200
commit5435a0a45fdfa1bcceeb36f8531826ddc2bb3508 (patch)
tree6254e6f19ca78e394693ef22ea5393dcefc5468d /tpl/study/batch_review.php
parent2a748125c27c7f7c41a32a1dba14484c66dc351f (diff)
downloadBits-5435a0a45fdfa1bcceeb36f8531826ddc2bb3508.tar.gz
Bits-5435a0a45fdfa1bcceeb36f8531826ddc2bb3508.zip
Added possibility to add notes to studied batch items.
Diffstat (limited to 'tpl/study/batch_review.php')
-rw-r--r--tpl/study/batch_review.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/study/batch_review.php b/tpl/study/batch_review.php
index ed81b75..abe1944 100644
--- a/tpl/study/batch_review.php
+++ b/tpl/study/batch_review.php
@@ -2,7 +2,9 @@
$title = "Testing " . $info['uname'] . ':' . $info['lname'] . ' - ' . $info['bname'];
-$javascript = "\n\nconst batchid = " . $info['batchid'] . "\nconst batch_data = " . $info['json_data'] . ";\n\n";
+$javascript = "\n\nconst batchid = " . $info['batchid'] . "\n".
+ "const batch_data = " . $info['json_data'] . ";\n\n".
+ "var notes = " . $info['notes'] . ";\n\n";
$js_include = array("js/prototype.js", "js/reviewdesu.js");
$onload_js = 'start_review();';