diff --git a/ubcpi/static/html/ubcpi.html b/ubcpi/static/html/ubcpi.html index e290125..dca1d57 100644 --- a/ubcpi/static/html/ubcpi.html +++ b/ubcpi/static/html/ubcpi.html @@ -23,9 +23,9 @@

{{display_n

  1. Answer, Completed
  2. - -

  3. Reflection, In Progress
  4. - + +

  5. Reflection, In Progress
  6. +

  7. Results, Upcoming
@@ -56,9 +56,9 @@

{{display_n

  1. Answer, In Progress
  2. - +

  3. Reflection, Upcoming
  4. - +

  5. Results, Upcoming
@@ -130,7 +130,7 @@

{{display_n - + @@ -159,9 +159,9 @@

{{display_n

  1. Answer, Completed
  2. - +

  3. Reflection, Completed
  4. - +

  5. Results, In Progress
diff --git a/ubcpi/ubcpi.py b/ubcpi/ubcpi.py index cd6dada..61bdba5 100644 --- a/ubcpi/ubcpi.py +++ b/ubcpi/ubcpi.py @@ -510,7 +510,11 @@ def record_response(self, answer, rationale, status): truncated_rationle, was_truncated = truncate_rationale(rationale) event_dict = { 'answer': answer, + 'answer_text': self.options[answer].get('text'), 'rationale': truncated_rationle, + 'correct_answer': self.correct_answer, + 'correct_answer_text': self.options[self.correct_answer].get('text'), + 'correct_rationale': self.correct_rationale, 'truncated': was_truncated } if not answers.has_revision(0) and status == STATUS_NEW: