Changeset 887
- Timestamp:
- 17 Nov 2006, 16:38:42 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r886 r887 158 158 students = [] 159 159 items.sort(cmp_id) 160 co_view = False 160 161 if items: 161 162 for item in items: 162 163 #if context.isClearanceOfficer(info): 163 164 if "ClearanceOfficers" in member.getGroups(): 165 co_view = True 164 166 droles = member.getRolesInContext(item) 165 167 if "ClearanceOfficer" in droles: … … 177 179 students = students, 178 180 allowed = True, 181 co_view = co_view, 179 182 ) 180 183 return context.students_manager_view(rendered = rend, -
WAeUP_SRP/trunk/skins/waeup_student/students_manager_view.pt
r885 r887 63 63 </td> 64 64 <td><span tal:replace="python: student['app_doc'].jamb_reg_no" /></td> 65 <td><span tal:replace="student/review_state" /></td> 65 <td tal:condition="options/co_view|nothing"><a href="id" 66 tal:attributes="href string:${student/student/clearance/absolute_url}/clearance_edit_form_manager" 67 tal:content="student/review_state"></a></td> 68 <td tal:condition="not: options/co_view|nothing"><span tal:replace="student/review_state" /></td> 66 69 </tr> 67 70 </span>
Note: See TracChangeset for help on using the changeset viewer.