- Timestamp:
- 11 Nov 2006, 13:32:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/widget_waeup_result_render.pt
r836 r841 6 6 subject options/datastructure/?id_s; 7 7 grade options/datastructure/?id_g; 8 grade_voc context/portal_vocabularies/exam_grades; 9 subjects_voc context/portal_vocabularies/exam_subjects; 8 10 "> 9 11 <tal:block condition="python: mode == 'view'"> 10 12 <div tal:repeat="res results"> 11 <span tal: repeat="col res"><span tal:content="col" /> </span>13 <span tal:content="python:subjects_voc.get(res[0])" /> <span tal:content="python:grade_voc.get(res[1])" /> 12 14 </div> 13 15 </tal:block> … … 17 19 <tr><th>Subject</th><th>Grade</th> 18 20 <tr tal:repeat="res results"> 19 <td tal: repeat="col res" tal:content="col" />21 <td tal:content="python:subjects_voc.get(res[0])" /><td tal:content="python:grade_voc.get(res[1])" /> 20 22 </tr> 21 23 <tr> … … 23 25 tal:attributes="name string:${name}_s; 24 26 id string:${name}_s;"> 25 <option tal:repeat="sub python:(('','----'),('Mathematics','Mathematics'),('English','English'))"27 <option tal:repeat="sub subjects_voc/items" 26 28 tal:attributes="value python:sub[0]" 27 29 tal:content="python: sub[1]"> … … 33 35 tal:attributes="name string:${name}_g; 34 36 id string:${name}_g;"> 35 <option tal:repeat="sub python:(('','-'),('A','A'),('B','B'),('C','C'),('D','D'))"37 <option tal:repeat="sub grade_voc/items" 36 38 tal:attributes="value python:sub[0]" 37 39 tal:content="python: sub[1]">
Note: See TracChangeset for help on using the changeset viewer.