EduploneTest/skins/EduploneTest eduplone_fillgap_edit.pt,1.2,1.3 eduplone_testingResults.pt,1.3,1.4

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTest/skins/EduploneTest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1779/skins/EduploneTest

Modified Files:
	eduplone_fillgap_edit.pt eduplone_testingResults.pt 
Log Message:
fillgap interface enhancement

Index: eduplone_fillgap_edit.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/eduplone_fillgap_edit.pt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** eduplone_fillgap_edit.pt	5 Oct 2004 18:19:07 -0000	1.2
--- eduplone_fillgap_edit.pt	14 Oct 2004 12:20:18 -0000	1.3
***************
*** 34,37 ****
--- 34,53 ----
          <p tal:content="structure python: here.getRenderedText('tutor')" />
  
+ 	<br><bR>
+ 	<form action="removeGaps">
+ 	<table>
+ 	<tr tal:repeat="answerObj python:here.objectValues()">
+ 	    <td><input tal:attributes="type python:'checkbox';
+ 		    	               name python:'ids:list';
+ 				       value python:answerObj.id"></td>
+ 	    <td><a tal:content="python: answerObj.title" 
+ 		   tal:attributes="href python:answerObj.getId() + '/base_edit'"
+ 		 /></td>
+ 	    <td><b tal:content="python: str(answerObj.correctAnswer[0])" /></td>
+ 	    
+ 	</tr>
+ 	</table>
+ 	<input type=submit value="loeschen">
+ 	</form>
  
  <!--==============================================-->

Index: eduplone_testingResults.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/eduplone_testingResults.pt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** eduplone_testingResults.pt	14 Oct 2004 09:12:47 -0000	1.3
--- eduplone_testingResults.pt	14 Oct 2004 12:20:18 -0000	1.4
***************
*** 27,32 ****
               <b tal:content="python:here.getTotalAvailableScore()" />
               </p>
!              <a tal:attributes="href python:here.users.absolute_url() + '/eduplone_testingResult2'"> &raquo; <span i18n:translate="label_answers">Answers</span></a>
! 
  <!--================================================-->
  
--- 27,33 ----
               <b tal:content="python:here.getTotalAvailableScore()" />
               </p>
!              <a tal:attributes="href python:here.users.absolute_url() + '/eduplone_testingResult2'"> 
! 	     &raquo; <span i18n:translate="label_answers">Answers</span></a>
! 	     <br><bR>
  <!--================================================-->
  
***************
*** 48,56 ****
                           
                      </td>
! 		    <td> <b tal:content="python: here.score_CalculateTotal(user.getId())" /> / <i tal:replace="python: here.getTotalAvailableScore()" /></td>
                      <td tal:repeat="quest allquest"
                          tal:attributes="valign python:'top'">
  
!                         <b tal:content="python: here.score_CalculateQuestion(quest.getId(), user.id)" />
                           /
                          <i tal:replace="python: quest.getScore()" />
--- 49,57 ----
                           
                      </td>
! 		    <td> <b tal:content="python: round(here.score_CalculateTotal(user.getId()),2)" /> / <i tal:replace="python: here.getTotalAvailableScore()" /></td>
                      <td tal:repeat="quest allquest"
                          tal:attributes="valign python:'top'">
  
!                         <b tal:content="python: round(here.score_CalculateQuestion(quest.getId(), user.id),2)" />
                           /
                          <i tal:replace="python: quest.getScore()" />



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.