Changeset 552 for WAeUP_SRP/trunk/skins
- Timestamp:
- 25 Sep 2006, 11:19:58 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r551 r552 31 31 elif context.portal_type == 'Faculty': 32 32 return context.faculty_index_view() 33 elif context.portal_type == 'Department': 34 return context.department_index_view() 33 35 return redirect("%s/academics_contents" % context.absolute_url()) 34 36 if isStudent: -
WAeUP_SRP/trunk/skins/waeup_academics/department_index_view.pt
r551 r552 20 20 <form action="" method="post" class="group" 21 21 tal:attributes="action info/action" 22 tal:define=" rows python: info['items'];"22 tal:define="certs python: info['certificates'];" 23 23 > 24 24 <span tal:condition="python: 0" tal:content="structure rows" /> 25 25 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> 26 <tr tal:repeat="row rows" 27 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 26 <tr class="even ajaxtd"> 27 <th colspan="4"><a href="view" tal:attributes="href string:${context/absolute_url}/courses"> 28 Courses</a> </th> 29 </tr> 30 <tr class="even ajaxtd"> 31 <th colspan="4"><a href="view" tal:attributes="href string:${context/absolute_url}/certificates"> 32 Certificates </a> </th> 33 </tr> 34 <tr tal:repeat="row certs" 35 tal:attributes="class python:test(repeat['row'].odd(), 'even ajaxtd', 'odd ajaxtd')"> 28 36 <td align="left" valign="middle" style="width: 5px;" 29 37 tal:condition="is_manager">
Note: See TracChangeset for help on using the changeset viewer.