EduploneExam_QOrder/skins/EduploneExam_QOrder exam_order.pt,1.3,1.4

Nils Haagen <[email protected]> Tue, 15 Nov 2005 10:15:11 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam_QOrder/skins/EduploneExam_QOrder
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv649/skins/EduploneExam_QOrder

Modified Files:
	exam_order.pt 
Log Message:
'strict' moved away 

Index: exam_order.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam_QOrder/skins/EduploneExam_QOrder/exam_order.pt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** exam_order.pt	13 Nov 2005 15:04:27 -0000	1.3
--- exam_order.pt	15 Nov 2005 10:15:09 -0000	1.4
***************
*** 13,20 ****
                  <tr>
                      <td>
! <!--
!                         <span tal:condition="python:answer.getPicture()"
!                               tal:content="structure python:answer.getPicture()" />
! -->                     <br />
                          <span tal:content="python: answer.getChallenge()" />
                          <br />
--- 13,21 ----
                  <tr>
                      <td>
! 
!                         <div tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                              tal:content="structure python: answer.getPicture()"/>
! 
!                         <br />
                          <span tal:content="python: answer.getChallenge()" />
                          <br />
***************
*** 25,32 ****
                              <nobr>
                              <tal:rep tal:repeat="answerAlternative python:currentQuestion.objectValues()">
!                         
                                  <input type="radio" tal:attributes="name  python:'##'.join([currentQuestion.UID(), answer.UID()]);
!                                                                     value repeat/answerAlternative/number" />
                                  <span tal:replace="repeat/answerAlternative/number" />
                              
                              </tal:rep>
--- 26,36 ----
                              <nobr>
                              <tal:rep tal:repeat="answerAlternative python:currentQuestion.objectValues()">
!                             <tal tal:define="no repeat/answerAlternative/number">
                                  <input type="radio" tal:attributes="name  python:'##'.join([currentQuestion.UID(), answer.UID()]);
!                                                                     value no;
!                                                                     checked python:test(str(responseObj[answer.UID()])==str(no), 'checked', None)" />
!             
                                  <span tal:replace="repeat/answerAlternative/number" />
+                             </tal>
                              
                              </tal:rep>
***************
*** 68,74 ****
              <tal:condition tal:condition="answer/challenge">
                  <td>
! <!--                    <span tal:condition="python:answer.getPicture()"
!                           tal:content="structure python:answer.getPicture()" />
! -->
                      <span tal:content="python: answer.getChallenge()" />
                  </td>
--- 72,80 ----
              <tal:condition tal:condition="answer/challenge">
                  <td>
!                     
!                     <div tal:condition="python:answer.getField('picture').get_size(answer) > 0" 
!                          tal:content="structure python: answer.getPicture()"/>
!                     <bR />
! 
                      <span tal:content="python: answer.getChallenge()" />
                  </td>



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click