Changeset 329 for WAeUP_SRP/trunk/skins/waeup_academics/level_view_form.pt
- Timestamp:
- 17 Jul 2006, 22:35:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/level_view_form.pt
r282 r329 17 17 items python:context.filterContents(items=context.contentValues());" 18 18 > 19 <h 1>Level <span tal:content="context/title_or_id" /></h1>19 <h3><span tal:content="context/title_or_id" /></h3> 20 20 21 <p>The courses for this level:</p>22 21 <tal:block condition="python: len(items)"> 23 22 <table> 24 23 <span tal:repeat="item items"> 25 24 <span tal:define="courses python:item.filterContents(items=item.contentValues())"> 26 <tr> 27 <th> <span tal:content="item/id" tal:omit-tag="" /> Semester 28 </th> 29 </tr> 30 <tr tal:repeat="course courses"> 31 <td> <a href="coures" tal:content="course/id" tal:attributes="href course/coursepath"></a> 32 </td> 33 <td tal:content="course/Title"></td> 34 <td tal:content="course/core_or_elective"></td> 35 <td tal:content="course/credits"></td> 36 <td tal:content="course/passmark"></td> 37 </tr> 25 <tr> 26 <th> <span tal:content="item/id" tal:omit-tag="" /> Semester 27 </th> 28 </tr> 29 <tr> 30 <th>Title 31 </th> 32 <th> 33 </th> 34 <th>Credits</th> 35 <th>Pass</th> 36 </tr> 37 <span tal:repeat="course courses"> 38 <tr tal:define="info course/getContentInfo; 39 wf_status info/review_state; 40 wf_action python: test(wf_status == 'unchecked', 'approve', 'retract')"> 41 <td align="center"><span tal:content="string: ${course/getId} ${course/Title}" tal:omit-tag=""/></td> 42 <td align="center" tal:content="python: test(path('course/core_or_elective'),'Core','elective')"></td> 43 <td align="center" tal:content="course/credits"></td> 44 <td align="center" tal:content="course/passmark"></td> 45 <td align="center" tal:content="wf_status"></td> 46 <td><a href="changestatus" 47 tal:attributes="href string: ${course/absolute_url}/content_status_modify?workflow_action=${wf_action}" 48 tal:content="string:[${wf_action}]"></a> 49 </td> 50 <td><a href="changestatus" 51 tal:attributes="href string: ${course/absolute_url}/cpsdocument_edit_form">[edit]</a> 52 </td> 53 <td><a href="coures" tal:content="string:goto Course" 54 tal:attributes="href course/coursepath"></a> 55 </td> 56 </tr> 57 </span> 38 58 <tr> <td></td></tr> 59 </span> 39 60 </span> 40 </span> 41 </table> 42 </tal:block> 61 </table> 62 </tal:block> 43 63 44 64 <tal:block condition="python: not len(items)">
Note: See TracChangeset for help on using the changeset viewer.