diff --git a/template.html b/template.html
index 659eee4..f85164d 100644
--- a/template.html
+++ b/template.html
@@ -247,6 +247,17 @@
Please transcribe this index card
+ You are working now on task: #
+ You have completed: tasks from
+
+
+
+
@@ -447,14 +458,14 @@
BM Bronze Age Index Drawer A9 transcription tutorial
function loadUserProgress() {
pybossa.userProgress('drawA9').done(function(data){
console.log("Total answers done for user: " + data.done);
- if ((data.done == 1) && ($.cookie('survey') === undefined)){
+ if ((data.done == 1) && ($.cookie('surveyA9') === undefined)){
$("#survey").modal('show');
- $.cookie('survey', 'shown', { path: '/'});
+ $.cookie('surveyA9', 'shown', { path: '/'});
}
- if ((data.done == 25) && ($.cookie('survey25') === undefined)){
+ if ((data.done >= 25) && ($.cookie('survey25A9') === undefined)){
$("#survey25").modal('show');
- $.cookie('survey25', 'shown', { path: '/'});
+ $.cookie('survey25A9', 'shown', { path: '/'});
}
var pct = Math.round((data.done*100)/data.total);