- Timestamp:
- 3 May 2011, 08:29:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt
r6008 r6024 33 33 34 34 <h3><span tal:content="context/__name__">Code</span> Course Referrers</h3> 35 36 <table class="zebra"> 37 <thead> 38 <tr> 39 <th>Course Referrer</th> 40 <th>Course</th> 41 <th>Title</th> 42 <th>Level</th> 43 <th>Semester</th> 44 <th>Mandatory</th> 45 </tr> 46 </thead> 47 <tbody> 48 <span tal:omit-tag="" 49 tal:repeat="level python: sorted(view.getCourseList().items())"> 50 <span tal:omit-tag="" 51 tal:repeat="semester python: sorted(level[1].items())"> 52 <tr tal:repeat="courseref python:semester[1]"> 53 <td> <a href="" tal:attributes="href courseref/url" 54 tal:content="courseref/code">courseref code</a></td> 55 <td> <a href="" tal:attributes="href courseref/course_url" 56 tal:content="courseref/course/code">course code</a></td> 57 <td tal:content="courseref/title">title</td> 58 <td tal:content="python:level[0]">level</td> 59 <td tal:content="python:semester[0]">semester</td> 60 <td tal:content="courseref/mandatory">mandatory</td> 35 <br /> 36 <table class="display dataTable"> 37 <thead> 38 <tr> 39 <th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th> 40 <th>Title</th><th>Mandatory</th> 61 41 </tr> 62 </span> 63 </span> 64 </tbody> 42 </thead> 43 <tbody> 44 <tr tal:repeat="cc context/values"> 45 <td> 46 <span tal:content="cc/level"> 47 LEVEL 48 </span> 49 </td> 50 <td tal:content="cc/course/semester">SEMESTER</td> 51 <td> 52 <a tal:attributes="href python: view.url(cc)" 53 tal:content="cc/__name__"> 54 REFERRER CODE 55 </a> 56 </td> 57 <td> 58 <a tal:attributes="href python:view.url(cc.course)" 59 tal:content="cc/course/code"> 60 COURSE CODE 61 </a> 62 <td> 63 <span tal:content="cc/course/title"> 64 COURSE TITLE 65 </span> 66 </td> 67 <td> 68 <span tal:content="cc/core_or_elective"> 69 MANDATORY 70 </span> 71 </td> 72 </tr> 73 </tbody> 65 74 </table> 66 75
Note: See TracChangeset for help on using the changeset viewer.