EduploneExam/skins/EduploneExam exam_fillgap.pt,1.4,1.5

Claudia Disque <[email protected]> Mon, 11 Apr 2005 19:49:23 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/skins/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9816

Modified Files:
	exam_fillgap.pt 
Log Message:
Improved results interface

Index: exam_fillgap.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_fillgap.pt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** exam_fillgap.pt	8 Apr 2005 09:18:14 -0000	1.4
--- exam_fillgap.pt	11 Apr 2005 19:49:20 -0000	1.5
***************
*** 91,95 ****
  <tr tal:repeat="answer python:currentQuestion.contentValues()">
      <td tal:content="python: responseObj[answer.UID()]" />
!     <td tal:content="python: answer.getCorrect()" />
      <td tal:content="structure python: test(answer.processValue(responseObj[answer.UID()]), '<img src=right_answer.gif>', '<img src=wrong_answer.gif>')" />
  </tr>
--- 91,98 ----
  <tr tal:repeat="answer python:currentQuestion.contentValues()">
      <td tal:content="python: responseObj[answer.UID()]" />
!         <td tal:condition="python: answer.portal_type == 'BlindGapAnswer'"
!             tal:content="python: ', '.join(answer.getCorrect())" />
!         <td tal:condition="python: answer.portal_type == 'ChoiceGapAnswer'"
!             tal:content="python: answer.getCorrect()" />
      <td tal:content="structure python: test(answer.processValue(responseObj[answer.UID()]), '<img src=right_answer.gif>', '<img src=wrong_answer.gif>')" />
  </tr>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click