EduploneExam/skins/EduploneExam exam_userlist.pt,1.1.2.6,1.1.2.7

Nils Haagen <[email protected]> Mon, 27 Feb 2006 23:23: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-serv4459/skins/EduploneExam

Modified Files:
      Tag: exam-1_1
	exam_userlist.pt 
Log Message:
rounding results

Index: exam_userlist.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/Attic/exam_userlist.pt,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** exam_userlist.pt	27 Feb 2006 23:11:14 -0000	1.1.2.6
--- exam_userlist.pt	27 Feb 2006 23:23:21 -0000	1.1.2.7
***************
*** 64,68 ****
  
                          <td valign="top" align="right" >
!                             <b tal:content="python: allResults[Xuser]" />
                              &nbsp;
                              (<span tal:omit-tag= " " tal:content="python: round((allResults[Xuser] / maxScore * 100), 2)" /> %)
--- 64,68 ----
  
                          <td valign="top" align="right" >
!                             <b tal:content="python: round(allResults[Xuser], 2)" />
                              &nbsp;
                              (<span tal:omit-tag= " " tal:content="python: round((allResults[Xuser] / maxScore * 100), 2)" /> %)
***************
*** 76,80 ****
                                   <td tal:content="q/Title" />
                                   <td>
!                                     <span tal:omit-tag=" " tal:content="python: here.deliverResponse(q, create=False, forUser=Xuser).getRelevantScore()" />
                                      <!-- max-score for question ?!-->
                                   </td>
--- 76,80 ----
                                   <td tal:content="q/Title" />
                                   <td>
!                                     <span tal:omit-tag=" " tal:content="python: round(here.deliverResponse(q, create=False, forUser=Xuser).getRelevantScore(), 2)" />
                                      <!-- max-score for question ?!-->
                                   </td>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642