EduploneTest/skins/EduploneTest task_view.pt,1.18,1.19

Claudia Disque <[email protected]> Mon, 11 Jul 2005 19:54:22 +0000
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-serv11614/skins/EduploneTest

Modified Files:
	task_view.pt 
Log Message:
added the possibility to create tasks with and without pictures...

Index: task_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/skins/EduploneTest/task_view.pt,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** task_view.pt	8 Jul 2005 06:53:51 -0000	1.18
--- task_view.pt	11 Jul 2005 19:54:19 -0000	1.19
***************
*** 14,17 ****
--- 14,18 ----
       (<span tal:replace="python:here.getTotalAvailableScore()"/> <span i18n:translate="score_total">total</span>)
      </p>
+     <span tal:define="currentQuestion python:here.question">
  
  
***************
*** 21,29 ****
          <tal metal:use-macro="here/task_view_slot/macros/main">
          <tal metal:fill-slot="content_slot">
  
              <b tal:content="structure here/question" />
              <br/>
              <span tal:content="here/instruction" />
!             <br /><b tal:content="structure here/picture" />
              <br/><br/>
  
--- 22,33 ----
          <tal metal:use-macro="here/task_view_slot/macros/main">
          <tal metal:fill-slot="content_slot">
+       
+         
  
              <b tal:content="structure here/question" />
              <br/>
              <span tal:content="here/instruction" />
!             <div tal:condition="python:currentQuestion.getPicture()"
!                  tal:content="structure python:currentQuestion.getPicture()" />
              <br/><br/>
  
***************
*** 93,97 ****
              <br/>
              <span tal:content="here/instruction" />
!             <br /><b tal:content="structure here/picture" />
              <br/><br/>
  
--- 97,102 ----
              <br/>
              <span tal:content="here/instruction" />
!             <br /><div tal:condition="python:currentQuestion.getPicture()"
!                        tal:content="structure python:currentQuestion.getPicture()" />
              <br/><br/>
  
***************
*** 187,191 ****
              <br/>
              <span tal:content="here/instruction" />
!             <br /><b tal:content="structure here/picture" />
              <br/><br/>
  
--- 192,197 ----
              <br/>
              <span tal:content="here/instruction" />
!             <br /><div tal:condition="python:currentQuestion.getPicture()"
!                        tal:content="structure python:currentQuestion.getPicture()" />
              <br/><br/>
  
***************
*** 234,238 ****
              <br/>
              <span tal:content="here/instruction" />
!             <br /><b tal:content="structure here/picture" />
              <br/><br/>
  
--- 240,245 ----
              <br/>
              <span tal:content="here/instruction" />
!             <br /><div tal:condition="python:currentQuestion.getPicture()"
!                        tal:content="structure python:currentQuestion.getPicture()" />
              <br/><br/>
  
***************
*** 261,265 ****
           </tal>
       </tal:condition><!--end of 'eduplone TextTask, FreeText'-->
! 
      </div>
  
--- 268,272 ----
           </tal>
       </tal:condition><!--end of 'eduplone TextTask, FreeText'-->
! </span>
      </div>
  



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar