Changeset 1132 for WAeUP_SRP/trunk
- Timestamp:
- 22 Dec 2006, 09:40:12 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1103 r1132 147 147 row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link) 148 148 row['review_state'] = so.review_state 149 row['display'] = so.review_state in ('opened','closed','bed_reserved','maintenance_fee_paid',) or so.portal_type == 'StudentStudyCourse'149 row['display'] = so.review_state in ('opened','closed','bed_reserved','maintenance_fee_paid',) and so.portal_type != 'StudentPume' or so.portal_type == 'StudentStudyCourse' 150 150 items.append(row) 151 151 info['items'] = items -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1096 r1132 43 43 </table> 44 44 45 <table tal:condition="is_student" class="contentListing" width=" 100%" summary="content layout" id="folder_content">45 <table tal:condition="is_student" class="contentListing" width="" summary="content layout" id="folder_content"> 46 46 <span tal:repeat="row rows"> 47 <tr tal:condition="row/display" 48 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 47 <tr tal:condition="row/display"> 49 48 <td><a href="view" tal:condition="row/s_view_link" 50 49 tal:attributes="href string:${row/s_view_link}"> … … 52 51 <strong tal:condition="not:row/s_view_link" tal:content="row/title" /> 53 52 </td> 54 <td> 53 54 <td width="80px" align="center"> 55 55 <a tal:condition="python: row['s_edit_link'] and row['is_editable']" 56 56 href="edit" tal:attributes="href string:${row/s_edit_link}"> 57 57 [edit] 58 </a> 58 </a> 59 </td> 60 61 <td width="100px" align="left"> 62 <span tal:content="row/review_state" /> 59 63 </td> 64 65 66 60 67 </tr> 61 68 </span>
Note: See TracChangeset for help on using the changeset viewer.