EduploneExam/skins/EduploneExam exam_userlist.pt,1.1.2.5,1.1.2.6
Nils Haagen <[email protected]> Mon, 27 Feb 2006 23:11:16 +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-serv28853/skins/EduploneExam
Modified Files:
Tag: exam-1_1
exam_userlist.pt
Log Message:
maxScore for whole exam
Index: exam_userlist.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/Attic/exam_userlist.pt,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** exam_userlist.pt 9 Feb 2006 21:22:25 -0000 1.1.2.5
--- exam_userlist.pt 27 Feb 2006 23:11:14 -0000 1.1.2.6
***************
*** 17,21 ****
view_template python:'%s_view' % portal_type;
view_macros python:path('here/%s/macros|nothing' % view_template);
! body_macro view_macros/body|nothing;
">
--- 17,22 ----
view_template python:'%s_view' % portal_type;
view_macros python:path('here/%s/macros|nothing' % view_template);
! body_macro view_macros/body|nothing;
! maxScore python: here.getMaxScore();
">
***************
*** 36,39 ****
--- 37,43 ----
tal:omit-tag="">
+
+ <span i18n:translate="max_possible_Score" tal:omit-tag=" ">max. possible Score</span> : <b tal:content="maxScore" />
+
<table border="1"
id="sortable"
***************
*** 59,66 ****
</td>
! <td valign="top"
! align="right"
! tal:content="python: allResults[Xuser]" />
!
<tal:extended tal:omit-tag=" "
--- 63,71 ----
</td>
! <td valign="top" align="right" >
! <b tal:content="python: allResults[Xuser]" />
!
! (<span tal:omit-tag= " " tal:content="python: round((allResults[Xuser] / maxScore * 100), 2)" /> %)
! </td>
<tal:extended tal:omit-tag=" "
***************
*** 70,74 ****
<tr tal:repeat="q python:here.objectValues(here.getRegisteredQuestionTypes())">
<td tal:content="q/Title" />
! <td tal:content="python: here.deliverResponse(q, create=False, forUser=Xuser).getRelevantScore()" />
</tr>
</table>
--- 75,82 ----
<tr tal:repeat="q python:here.objectValues(here.getRegisteredQuestionTypes())">
<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>
</tr>
</table>
-------------------------------------------------------
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